//https全局配置
            ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
            ServicePointManager.ServerCertificateValidationCallback =
                (sender, certificate, chain, errors) => true;

 

相关文章:

  • 2022-03-05
  • 2021-07-03
  • 2022-12-23
  • 2021-12-01
  • 2022-02-10
  • 2022-01-05
  • 2021-06-16
猜你喜欢
  • 2021-07-10
  • 2022-12-23
  • 2021-09-11
  • 2022-02-27
  • 2022-12-23
相关资源
相似解决方案