Call API relation to TLS 1.2

风格不统一 提交于 2019-12-05 17:28:57

           

//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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!