HttpClientHandler.SslProtocols Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.