Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, errors) => true;
- ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
Add Comment
Please, Sign In to add comment