HttpClientHandler.SslProtocols Свойство

Определение

Возвращает или задает протоколы TLS/SSL, используемые HttpClient объектами, управляемыми объектом 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

Значение свойства

Побитовое сочетание значений перечисления, указывающее протоколы TLS/SSL.

Атрибуты

Исключения

только .NET Framework 4.7.1: это свойство не реализовано.

Применяется к