Skip to content

Instantly share code, notes, and snippets.

@androidmads
Created March 21, 2017 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save androidmads/b288afd6d37a63aa395a6f61154bacb4 to your computer and use it in GitHub Desktop.
Save androidmads/b288afd6d37a63aa395a6f61154bacb4 to your computer and use it in GitHub Desktop.
//...
// 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