Created
December 10, 2016 19:55
-
-
Save tdittmar/047a9c1ce35bf2b88697578b483d4e4f to your computer and use it in GitHub Desktop.
Force TLS encryption in C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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