SocketTools .NET Edition

PopClient.SecurityProtocols Enumeration

Specifies the security protocols that the PopClient class supports.

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

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

Remarks

The PopClient class uses the SecurityProtocols enumeration to specify one or more security protocols to be used when establishing a connection with a remote host. Multiple protocols may be specified if necessary and the actual protocol used will be negotiated with the remote host. It is recommended that most applications use protocolDefault when creating a secure connection.

Members

Member Name Description Value
protocolNone No security protocol will be used, a secure connection will not be established. 0
protocolSSL2 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
protocolSSL3 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
protocolTLS10 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. 4
protocolTLS11 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. 8
protocolTLS12 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
protocolTLS13 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
protocolSSL Any version of the Secure Sockets Layer (SSL) protocol should be used. The actual protocol version used will be negotiated with the remote host. 3
protocolTLS Any version of the the Transport Layer Security (TLS) protocol should be used. The actual protocol version used will be negotiated with the remote host, with with preference for TLS 1.2. 28
protocolTLS1 Version 1.0, 1.1 or 1.2 of the the Transport Layer Security (TLS) protocol should be used. The actual protocol version used will be negotiated with the remote host, with preference for TLS 1.2. 28
protocolDefault The default selection of security protocols will be used when establishing a connection. The TLS 1.2, 1.1 and 1.0 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. 16
protocolUnknown An unknown or unsupported security protocol has been specified. This value indicates an error condition. 4096

Requirements

Namespace: SocketTools

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

See Also

SocketTools Namespace