SocketTools .NET Edition

TelnetClient.SecurityProtocols Enumeration

The supported security protocols.

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

[Visual Basic]
<Flags>
Public Enum TelnetClient.SecurityProtocols
[C#]
[Flags]
public enum TelnetClient.SecurityProtocols

Remarks

The SecurityProtocols enumeration specifies one or more security protocols to be used when establishing a connection with a server. Multiple protocols may be specified if necessary and the actual protocol used will be negotiated with the server. It is recommended that most applications use the Default protocol when establishing a secure connection.

Members

Member Name Description Value
None No security protocol will be used, a secure connection will not be established. 0
Ssl2 Obsolete.  The SSL 2.0 protocol has been selected. This protocol has been deprecated and is no longer widely used. It is not recommended that this protocol be used when establishing secure connections. 1
Ssl3 Obsolete.  The SSL 3.0 protocol has been selected. This protocol has been deprecated and is no longer widely used. It is not recommended that this protocol be used when establishing secure connections. In most cases, this protocol is only selected if TLS is not supported by the server. 2
Tls10 Obsolete.  The TLS 1.0 protocol has been selected. This version of the protocol is commonly used by older servers and is the only version of TLS supported on Windows platforms prior to Windows 7 SP1 and Windows Server 2008 R2. This version has been deprecated and should not be used. 4
Tls11 Obsolete.  The TLS 1.1 protocol has been selected. This version of TLS is supported on Windows 7 SP1 and Windows Server 2008 R2 and later versions of the operating system. This version has been deprecated and should not be used. 8
Tls12 The TLS 1.2 protocol has been selected. This is the default version of the protocol and is supported on Windows 7 SP1 and Windows Server 2008 R2 and later versions of Windows. It is recommended that you use this version of TLS. 16
Tls13 The TLS 1.3 protocol has been selected. This is the latest version of the protocol and is only supported on Windows 11, Windows Server 2022 and later. If this protocol version is not supported, TLS 1.2 will be used instead. 32
Ssh2 The Secure Shell 2.0 protocol has been selected. This is the most commonly used version of the protocol. It is recommended that this version of the protocol be used unless the server explicitly requires the client to use an earlier version. 512
Default The default selection of security protocols will be used when establishing a connection. The TLS 1.3 or TLS 1.2 protocols will be negotiated with the host, in that order of preference. This option will always request the latest version of the preferred security protocols and is the recommended value. 48
Unknown An unknown or unsupported security protocol has been specified. This value indicates an error condition. 4096

Requirements

Namespace: SocketTools

Assembly: SocketTools.TelnetClient (in SocketTools.TelnetClient.dll)

Version: 12.0.3041.1380