SecurityProtocolType Enumeration

 

Address: https: //docs.microsoft.com/zh-cn/dotnet/api/system.net.securityprotocoltype redirectedfrom = MSDN & view = netframework-4.7.2?

Specifies the Schannel security package supports security protocols.

This enumeration has a FlagsAttribute property that allows the bit combinations member values.

 

 

This enumeration defines a set of values, you can use these values to specify transport security protocol to use. It is SecurityProtocol enumerated type attributes.

When using HTTP Api in the .NET Framework, this enumeration used to determine the transmission protocol security policy, such as the WebClient , the HttpWebRequest , HttpClient and the SmtpClient (using TLS / SSL).

Transport Layer Security (TLS) protocol is assumed to use a connection-oriented protocol (usually TCP).

 

Guess you like

Origin www.cnblogs.com/Tpf386/p/11864613.html