SyntaxFix
Write A Post
Hire A Developer
Questions
This one worked for me:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;