SslProtocols SslProtocols SslProtocols SslProtocols Enum

Definition

Defines the possible versions of SslProtocols.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum class SslProtocols
[System.Flags]
public enum SslProtocols
type SslProtocols = 
Public Enum SslProtocols
Inheritance
Attributes

Fields

Default Default Default Default 240

Use None instead of Default. Default permits only the Secure Sockets Layer (SSL) 3.0 or Transport Layer Security (TLS) 1.0 protocols to be negotiated, and those options are now considered obsolete. Consequently, Default is not allowed in many organizations. Despite the name of this field, SslStream does not use it as a default except under special circumstances.

None None None 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.

Ssl2 Ssl2 Ssl2 Ssl2 12

Specifies the SSL 2.0 protocol. SSL 2.0 has been superseded by the TLS protocol and is provided for backward compatibility only.

Ssl3 Ssl3 Ssl3 Ssl3 48

Specifies the SSL 3.0 protocol. SSL 3.0 has been superseded by the TLS protocol and is provided for backward compatibility only.

Tls Tls Tls Tls 192

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

Tls11 Tls11 Tls11 Tls11 768

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

Tls12 Tls12 Tls12 Tls12 3072

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

Applies to