HttpClientHandler.SslProtocols 属性

定义

获取或设置 HttpClientHandler 对象管理的 HttpClient 对象所用的 TLS/SSL 协议。Gets or sets the TLS/SSL protocol used by the HttpClient objects managed by the HttpClientHandler object.

public:
 property System::Security::Authentication::SslProtocols SslProtocols { System::Security::Authentication::SslProtocols get(); void set(System::Security::Authentication::SslProtocols value); };
public System.Security.Authentication.SslProtocols SslProtocols { get; set; }
member this.SslProtocols : System.Security.Authentication.SslProtocols with get, set
Public Property SslProtocols As SslProtocols

属性值

SslProtocols 枚举中定义的值之一。One of the values defined in the SslProtocols enumeration.

例外

仅 .NET Framework 4.7.1:未实现此属性。.NET Framework 4.7.1 only: This property is not implemented.

适用于