📅  最后修改于: 2022-03-11 14:57:12.429000             🧑  作者: Mango
//bypass ssl validation check by using RestClient object
var restClient = new RestClient(baseUrl);
restClient.RemoteCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;