HttpClientHandler.SslProtocols 属性

定义

获取或设置 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, set
member this.SslProtocols : System.Security.Authentication.SslProtocols with get, set
Public Property SslProtocols As SslProtocols

属性值

SslProtocols 枚举中定义的值之一。

属性

例外

仅 .NET Framework 4.7.1:未实现此属性。

适用于