Last active
March 31, 2016 09:03
-
-
Save CoditCompany/2df83fd6e1e3f5c69b39b658fc11ef27 to your computer and use it in GitHub Desktop.
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
public void ApplyClientBehavior(ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.ClientRuntime clientRuntime) | |
{ | |
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment