Redigera

Dela via


HttpClientHandler.SslProtocols Property

Definition

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); };
[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

Property Value

One of the values defined in the SslProtocols enumeration.

Attributes

Exceptions

.NET Framework 4.7.1 only: This property is not implemented.

Applies to