HttpClientHandler.SslProtocols Properti

Definisi

Mendapatkan atau mengatur protokol TLS/SSL yang digunakan oleh objek yang HttpClient dikelola oleh objek HttpClientHandler.

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

Nilai Properti

Salah satu nilai yang ditentukan dalam SslProtocols enumerasi.

Atribut

Pengecualian

.NET Framework 4.7.1 saja: Properti ini tidak diimplementasikan.

Berlaku untuk