語言

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 訊息中提供的資訊。 它並不代表為連線所協商的協議。 不要用這個數值來做安全相關的決策。

適用於