Submitted by: Srinath M S(srinath_ms@yahoo.com)

Tuesday Jan 16th 2018 by Srinath M S

Language: .NET, Level: Advanced: - Learn how to configure the ServicePointManager to turn on the TLS version you want without affecting other versions.

We can use "|=" and configure the ServicePointManager's SecurityProtocol to turn on the TLS versions and thereby not remove support for other protocols.

System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
Mobile Site | Full Site