xp 下 会报 Baidu.Aip.AipException: The underlying connection was closed: An unexpected error occurred on a send.错误
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;请到什么地方加这个东西,我的在XP下报这种错误:
调用识别接口时,认证设置成了SSL3
xp 下 加上这个就可以了
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;
c#有相关例子可以下载直接用的
连接被关闭了
xp下建议在https://github.com/Baidu-AIP/dotnet-sdk 下载源码后编译运行