Specifies the security protocols that the InternetMail class supports.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
The InternetMail 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.
| Member Name | Description | Value |
|---|---|---|
| protocolNone | No security protocol will be used, a secure connection will not be established. | 0 |
| protocolSSL2 | The Secure Sockets Layer (SSL) version 2.0 protocol should be used. This protocol has been deprecated and should not be specified unless it is absolutely required. | 1 |
| protocolSSL3 | The Secure Sockets Layer (SSL) version 3.0 protocol should be used. This is the most common version of the SSL protocol currently in use. It is recommended that this protocol be specified when establishing a secure connection. | 2 |
| protocolPCT1 | The Private Communication Technology (PCT) version 1.0 protocol should be used. This protocol has been deprecated and should not be specified unless it is absolutely required. | 4 |
| protocolTLS1 | The Transport Layer Security (TLS) version 1.0 protocol should be used. It is recommended that this protocol be specified when establishing a secure connection. | 8 |
| 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 |
| protocolPCT | Any version of the Private Communication Technology (PCT) protocol should be used. The actual protocol version used will be negotiated with the remote host. This protocol has been deprecated and should not be specified unless it is absolutely required. | 4 |
| 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. | 8 |
| protocolDefault | The Secure Sockets Layer 3.0 or Transport Layer Security 1.0 protocol should be used to establish the connection. The actual protocol and version used will be negotiated with the remote host. | 10 |
| protocolUnknown | An unknown or unsupported security protocol has been specified. This value indicates an error condition. | 4096 |
Namespace: SocketTools
Assembly: SocketTools.InternetMail (in SocketTools.InternetMail.dll)