Skip to content

Instantly share code, notes, and snippets.

@AnshulKuthiala
Created December 14, 2018 15:00
Show Gist options
  • Save AnshulKuthiala/f183f88fa56effe5aeccf6a1109973f3 to your computer and use it in GitHub Desktop.
Save AnshulKuthiala/f183f88fa56effe5aeccf6a1109973f3 to your computer and use it in GitHub Desktop.
[Enable TLS 1.2]
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment