The underlying connection was closed: An unexpected error occurred on a send

https请求,win7正常,xp返回  The underlying connection was closed: An unexpected error occurred on a send

百度了下,貌似是 认证协议的问题

加入,果然奏效。。

ServicePointManager.SecurityProtocol = SecurityProtocolType.SSL3;

猜你喜欢

转载自www.cnblogs.com/cyberarmy/p/10038499.html