在调用执行API之前添加以下代码就行了
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
原文地址:https://www.cnblogs.com/GundamPeter/p/9637188.html
时间: 2024-10-23 18:01:20
在调用执行API之前添加以下代码就行了
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
原文地址:https://www.cnblogs.com/GundamPeter/p/9637188.html