HttpClientHandler.SslProtocols 屬性

定義

取得或設定 TLS/SSL 通訊協定,其是由 HttpClientHandler 物件管理之 HttpClient 物件所使用。

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:尚未實作此屬性。

適用於