.net的代码:
HttpWebRequest webrequest = (HttpWebRequest)HttpWebRequest.Create(url);webrequest.ClientCertificates.Add(cer);
.net core 应该怎么使用呢?
建议使用HttpClient,参考 Add client certificate to .net core Httpclient