Enum SslProtocols
Defines the possible versions of SslProtocols. This enumeration supports a bitwise combination of its member values.
[Flags]
public enum SslProtocols
Fields
None = 0
Allows the operating system to choose the best protocol to use, and to block protocols that are not secure. Unless your app has a specific reason not to, you should use this value.
[Obsolete("This value is obsolete and unsecured and will be removed in a future version.")] Tls = 192
Specifies the TLS 1.0 security protocol. TLS 1.0 is provided for backward compatibility only. The TLS protocol is defined in IETF RFC 2246. This member is obsolete and will be removed in a future version.
[Obsolete("This value is obsolete and unsecured and will be removed in a future version.")] Tls11 = 768
Specifies the TLS 1.1 security protocol. The TLS protocol is defined in IETF RFC 4346. This member is obsolete and will be removed in a future version.
Tls12 = 3072
Specifies the TLS 1.2 security protocol. The TLS protocol is defined in IETF RFC 5246.
Tls13 = 12288
Specifies the TLS 1.3 security protocol. The TLS protocol is defined in IETF RFC 8446.
Remarks
During the handshake, the client sends a list of SSL versions and the server chooses the best matching version from that list.
Note: Following the full .NET implementation, .NET nanoFramework does not have any of the SSL nor Default because those are deprecated and unsecure.