Microsoft Learn

SSLStreamProtocolVersions Enum Members

Namespace:

System.Net.Security

Assembly:

System.Net.Security.dll

Declaration:

public enum SSLStreamProtocolVersions

Remarks

Specifies the SSL/TLS protocol versions that are supported by the SSL stream.

Use the members of this enumeration to configure the protocol versions that the SslStream class will use for establishing secure connections.

Enum Members

Member Description
Default Specifies that the default protocol version is used. This is typically the highest protocol version supported by the operating system.
Ssl2 Specifies that the SSL 2.0 protocol is supported. (Deprecated and not recommended for use.)
Ssl3 Specifies that the SSL 3.0 protocol is supported. (Deprecated and not recommended for use.)
Tls10 Specifies that the TLS 1.0 protocol is supported. (Deprecated and not recommended for use.)
Tls11 Specifies that the TLS 1.1 protocol is supported. (Deprecated and not recommended for use.)
Tls12 Specifies that the TLS 1.2 protocol is supported.
Tls13 Specifies that the TLS 1.3 protocol is supported.
Tls13OrGreater Specifies that TLS 1.3 or any higher protocol version is supported.