https 不检验证书

System.Net.ServicePointManager.ServerCertificateValidationCallback += (s, cert, chain, sslPolicyErrors) => true;
原文地址:https://www.cnblogs.com/runliuv/p/9531148.html