windows xp .net framework 4.0 HttpWebRequest 报The underlying connection was closed,基础连接已关闭,错误的解决方法
在 HttpWebRequest 请求的上方加入以下代码
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;
原文地址:https://www.cnblogs.com/icejd/p/11690919.html
时间: 2024-10-12 05:16:40