Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CertificatePolicy を更新する
public class TrustAllCertificatePolicy : System.Net.ICertificatePolicy
{
public TrustAllCertificatePolicy() { }
public bool CheckValidationResult(System.Net.ServicePoint sp,
System.Security.Cryptography.X509Certificates.X509Certificate cert,
System.Net.WebRequest req,
int problem)
{
return true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment