System.Net.SecurityProtocolType
can be assiged to the member SecurityProtocol
of the System.Net.ServicePointManager
class. SystemDefault | 0 | Let the operating system choose the best protocol. Recommended value for most cases. |
Ssl3 | 48 | SSL 3.0 |
Tls | 192 | TLS 1.0 |
Tls11 | 768 | TLS 1.1 |
Tls12 | 3072 | TLS 1.2 |
Tls13 | 12288 | TLS 1.3 |