Table of Contents

Enum SslProtocols

Namespace
System.Net.Security
Assembly
System.Net.dll

Defines the possible versions of Secure Sockets Layer (SSL).

[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 field.

Tls = 16

Specifies the TLS 1.0 security protocol. The TLS protocol is defined in IETF RFC 2246.

Tls11 = 32

Specifies the TLS 1.1 security protocol. The TLS protocol is defined in IETF RFC 4346.

Tls12 = 64

Specifies the TLS 1.2 security protocol. The TLS protocol is defined in IETF RFC 5246.

Remarks

Note: Following the recommendation of the .NET documentation, nanoFramework implementation does not have SSL3 nor Default because those are deprecated and unsecure.