语言

SslClientHelloInfo.SslProtocols 属性

定义

获取客户端提供的 TLS/SSL 协议。

public:
 property System::Security::Authentication::SslProtocols SslProtocols { System::Security::Authentication::SslProtocols get(); };
public System.Security.Authentication.SslProtocols SslProtocols { get; }
member this.SslProtocols : System.Security.Authentication.SslProtocols
Public ReadOnly Property SslProtocols As SslProtocols

属性值

指定 TLS 或 SSL 协议的枚举值的按位组合。

注解

此值基于 TLS ClientHello 消息中的客户端提供的信息。 它不表示为连接协商的协议。 请勿使用此值做出与安全相关的决策。

适用于