TcpTransportSecurityElement.SslProtocols Vlastnost

Definice

Získá seznam protokolů SSL/TLS, které se mají vyjednat při použití typu přihlašovacích údajů klienta TcpClientCredentialType.Certificate. Hodnota může být kombinací jednoho z následujících členů výčtu: Ssl3, Tls, Tls11, Tls12.

public:
 property System::Security::Authentication::SslProtocols SslProtocols { System::Security::Authentication::SslProtocols get(); };
[System.Configuration.ConfigurationProperty("sslProtocols", DefaultValue=System.Security.Authentication.SslProtocols.Default | System.Security.Authentication.SslProtocols.Tls11 | System.Security.Authentication.SslProtocols.Tls12)]
public System.Security.Authentication.SslProtocols SslProtocols { get; }
[System.Configuration.ConfigurationProperty("sslProtocols", DefaultValue=System.Security.Authentication.SslProtocols.Tls | System.Security.Authentication.SslProtocols.Tls11 | System.Security.Authentication.SslProtocols.Tls12)]
public System.Security.Authentication.SslProtocols SslProtocols { get; }
[<System.Configuration.ConfigurationProperty("sslProtocols", DefaultValue=System.Security.Authentication.SslProtocols.Default | System.Security.Authentication.SslProtocols.Tls11 | System.Security.Authentication.SslProtocols.Tls12)>]
member this.SslProtocols : System.Security.Authentication.SslProtocols
[<System.Configuration.ConfigurationProperty("sslProtocols", DefaultValue=System.Security.Authentication.SslProtocols.Tls | System.Security.Authentication.SslProtocols.Tls11 | System.Security.Authentication.SslProtocols.Tls12)>]
member this.SslProtocols : System.Security.Authentication.SslProtocols
Public ReadOnly Property SslProtocols As SslProtocols

Hodnota vlastnosti

SslProtocols

Seznam protokolů SSL/TLS.

Atributy

Poznámky

Výchozí hodnota je Ssl3 | Tls | Tls11 | Tls12. Verze rozhraní starší než 4.6 podporují pouze Ssl3 a Tls. Pokud nejsou zahrnuty, komunikace se staršími verzemi rozhraní nebude možná. Zadáním tls11 nebo Tls12 zakážete používání protokolu Ssl3, i když už je zahrnutý.

Platí pro