请求被中止: 未能创建 SSL/TLS 安全通道

HttpWebRequest请求前加一行代码:

System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;  
原文地址:https://www.cnblogs.com/shenyixin/p/7483524.html