TcpTransportSecurityElement.SslProtocols Eigenschap

Definitie

Hiermee haalt u de lijst met SSL/TLS-protocollen op om te onderhandelen wanneer u een clientreferentietype tcpClientCredentialType.Certificate gebruikt. De waarde kan een combinatie zijn van een van de volgende opsommingsleden: 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

Waarde van eigenschap

De lijst met SSL/TLS-protocollen.

Kenmerken

Opmerkingen

De standaardwaarde is Ssl3 | Tls | Tls11 | Tls12. Versies van het framework vóór 4.6 ondersteunen alleen Ssl3 en Tls. Als deze niet zijn opgenomen, is communicatie met eerdere versies van het framework niet mogelijk. Als u Tls11 en/of Tls12 opgeeft, wordt het gebruik van Ssl3 uitgeschakeld, zelfs als deze is opgenomen.

Van toepassing op