XP下调用百度ai报错 The underlying connection was closed: An unexpected error occurred on a send.

调用识别接口时,认证设置成了SSL3

xp 下 加上这个就可以了

ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;

  

猜你喜欢

转载自www.cnblogs.com/2515593227blog/p/9952522.html