×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
How to Turn on TLS Versions Without Affecting Earlier Versions of Security Protocol in .NET
 

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;
Home
Mobile Site | Full Site
Copyright 2018 © QuinStreet Inc. All Rights Reserved