RemoteCertificateValidationCallback code example
Example: RemoteCertificateValidationCallback
ServicePointManager.ServerCertificateValidationCallback +=
new RemoteCertificateValidationCallback((sender, certificate, chain, policyErrors) => { return true; });