WinHttpHandler.SslProtocols 属性

定义

获取或设置客户端支持的 TLS/SSL 协议的集合。

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

属性值

客户端支持的 TLS/SSL 协议的集合。

注解

默认值为 None,这是建议的值。 它允许操作系统选择要使用的最佳协议,并阻止不安全的协议。 有关详细信息,请参阅 SslProtocols

适用于