runliuv@cnblogs
打开TLS 1.1和1.2而不影响其他协议
System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
注意是 |=
引用:https://cloud.tencent.com/developer/ask/56111
TLS1.0,TLS1.1,TLS1.2。