Created
March 21, 2017 17:00
-
-
Save androidmads/b288afd6d37a63aa395a6f61154bacb4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//... | |
// Self Signed Certificate | |
ServicePointManager.ServerCertificateValidationCallback = | |
delegate (object sender2, | |
X509Certificate certificate, | |
X509Chain chain, | |
SslPolicyErrors sslPolicyErrors) | |
{ | |
return true; | |
}; | |
//... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment