HttpClientHandler.SslProtocols 屬性

定義

取得或設定 TLS/SSL 通訊協定,其是由 HttpClientHandler 物件管理之 HttpClient 物件所使用。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

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.

適用於