SyntaxFix
Write A Post
Hire A Developer
Questions
Also there is the short delegate solution:
ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };