C# xp 下请求报错
domy_1 发布于2018-02 浏览:1288 回复:5
0
收藏
快速回复
xp 下 会报  Baidu.Aip.AipException: The underlying connection was closed: An unexpected error occurred on a send.错误
收藏
点赞
0
个赞
共5条回复 最后由用户已被禁言回复于2022-04
#6asf2008回复于2019-03

ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;请到什么地方加这个东西,我的在XP下报这种错误:

0
#5谁敢VS理想回复于2018-11

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

xp 下 加上这个就可以了

ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;

0
#4lichao_86回复于2018-10

c#有相关例子可以下载直接用的

0
#3hefeitest回复于2018-07

连接被关闭了

0
#2chenxiaoyu3回复于2018-03

xp下建议在https://github.com/Baidu-AIP/dotnet-sdk 下载源码后编译运行

0
TOP
切换版块