SecurityProtocolType Enumeration

 

Specifies the security protocols that are supported by the Schannel security package.

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

Namespace:   System.Net
Assembly:  System (in System.dll)

<FlagsAttribute>
Public Enumeration SecurityProtocolType

Member nameDescription
Ssl3

Specifies the Secure Socket Layer (SSL) 3.0 security protocol.

Tls

Specifies the Transport Layer Security (TLS) 1.0 security protocol.

Tls11

Specifies the Transport Layer Security (TLS) 1.1 security protocol.

Tls12

Specifies the Transport Layer Security (TLS) 1.2 security protocol.

This enumeration defines permissible values for the SecurityProtocol property and specifies the security protocols that are used by instances of the SslStream class.

The following code example demonstrates creating a TcpClient that uses the SslStream class to communicate with a server.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: