TcpTransportSecurityElement.SslProtocols Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft die Liste der bei Verwendung des Client-Anmeldeinformationstyps "TcpClientCredentialType.Certificate" auszuhandelnden SSL/TLS-Protokolle ab. Der Wert kann eine Kombination aus einem oder mehreren der folgenden Enumerationsmember sein: 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
Eigenschaftswert
Die Liste der SSL/TLS-Protokolle.
- Attribute
Hinweise
Der Standardwert ist Ssl3 | Tls | Tls11 | Tls12. Versionen des Frameworks vor 4.6 unterstützen nur Ssl3 und Tls. Wenn diese nicht enthalten sind, ist die Kommunikation mit früheren Versionen des Frameworks nicht möglich. Wenn Sie Tls11 und/oder Tls12 angeben, wird die Verwendung von Ssl3 deaktiviert, auch wenn es enthalten ist.