HttpWebRequest请求前加一行代码:
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
Powered by: 博客园 Copyright © 2024 shenyixin Powered by .NET 8.0 on Kubernetes