var httpclientHandler = new HttpClientHandler(); httpclientHandler.ServerCertificateCustomValidationCallback = (message, cert, chain, error) => true; var httpClient = new HttpClient(httpclientHandler);
.Net Core HttpClient 忽略https证书提醒
猜你喜欢
转载自www.cnblogs.com/xtjatswc/p/11997389.html
今日推荐
周排行