HttpClientHandler.SslProtocols 属性    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 HttpClientHandler 对象管理的 HttpClient 对象所用的 TLS/SSL 协议。
public:
 property System::Security::Authentication::SslProtocols SslProtocols { System::Security::Authentication::SslProtocols get(); void set(System::Security::Authentication::SslProtocols value); };[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Security.Authentication.SslProtocols SslProtocols { get; set; }public System.Security.Authentication.SslProtocols SslProtocols { get; set; }[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.SslProtocols : System.Security.Authentication.SslProtocols with get, setmember this.SslProtocols : System.Security.Authentication.SslProtocols with get, setPublic Property SslProtocols As SslProtocols属性值
SslProtocols 枚举中定义的值之一。
- 属性
例外
仅 .NET Framework 4.7.1:未实现此属性。