https://docs.microsoft.com/en-us/dotnet/api/system.security.authentication.sslprotocols?redirectedfrom=MSDN&view=netframework-4.0
SslProtocols Enum
Definition
- Namespace:
- System.Security.Authentication
- Assemblies:
- System.Net.Primitives.dll, System.dll, netstandard.dll
Defines the possible versions of SslProtocols.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[System.Flags]
public enum SslProtocols
- Inheritance
- Attributes
Fields
Default | 240 |
Use |
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 | 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 | 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 | 192 |
Specifies the TLS 1.0 security protocol. The TLS protocol is defined in IETF RFC 2246. |