windows xp .net framework 4.0 HttpWebRequest 报The underlying connection was closed,基础连接已关闭

2021-01-29 19:25

阅读:701

标签:基础   protoc   ram   manager   poi   framework   sed   window   was   

windows xp .net framework 4.0 HttpWebRequest 报The underlying connection was closed,基础连接已关闭,错误的解决方法

在 HttpWebRequest 请求的上方加入以下代码

ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;

windows xp .net framework 4.0 HttpWebRequest 报The underlying connection was closed,基础连接已关闭

标签:基础   protoc   ram   manager   poi   framework   sed   window   was   

原文地址:https://www.cnblogs.com/icejd/p/11690919.html


评论


亲,登录后才可以留言!