SslProtocols Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the possible versions of SslProtocols.
This enumeration supports a bitwise combination of its member values.
public enum class SslProtocols
[System.Flags]
public enum SslProtocols
[<System.Flags>]
type SslProtocols =
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. TLS 1.0 is provided for backward compatibility only. The TLS protocol is defined in IETF RFC 2246. This member is obsolete starting in .NET 7. |
Tls11 | 768 | Specifies the TLS 1.1 security protocol. The TLS protocol is defined in IETF RFC 4346. This member is obsolete starting in .NET 7. |
Tls12 | 3072 | Specifies the TLS 1.2 security protocol. The TLS protocol is defined in IETF RFC 5246. |
Tls13 | 12288 | Specifies the TLS 1.3 security protocol. The TLS protocol is defined in IETF RFC 8446. |
Remarks
During the handshake, the client sends a list of SSL versions and the server chooses the best matching version from that list.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기