//ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls; //.NET 4.5 //.NET 4.6 and above,no any code need add
//ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; //Hard Code TLS 1.2 for .NET 4.0 //.NET 3.5 or below,TLS 1.2 is not supported
Windows version |
SSL2 Client |
SSL2 Server |
SSL3 Client |
SSL3 Server |
TLS 1.0 Client |
TLS 1.0 Server |
TLS 1.1 Client |
TLS 1.1 Server |
TLS 1.2 Client |
TLS 1.2 Server |
Windows Vista SP2 and Windows Server 2008 SP2 |
Off |
On |
On |
On |
On |
On |
N/A |
N/A |
N/A |
N/A |
Windows 7 SP1 and Windows Server 2008 R2 SP1 |
Off |
On |
On |
On |
On |
On |
Off |
Off |
Off |
Off |
Windows Server 2012 |
Off |
Off |
On |
On |
On |
On |
On |
On |
On |
On |
Windows 8.1 and Windows Server 2012 R2 |
Off |
Off |
On |
On |
On |
On |
On |
On |
On |
On |
Windows 10 |
Off |
Off |
On |
On |
On |
On |
On |
On |
On |
On |
Windows 10 (1511) |
Off |
Off |
On |
On |
On |
On |
On |
On |
On |
On |
Windows 10 (1607) and Windows Server 2016 |
N/A |
N/A |
Off |
Off |
On |
On |
On |
On |
On |
On |