Thread: Общие вопросы (General Questions)/Update to enable TLS 1.1 and TLS 1.2 as default secure protocols in WinHTTP in Windows

Update to enable TLS 1.1 and TLS 1.2 as default secure protocols in WinHTTP in Windows
Update to enable TLS 1.1 and TLS 1.2 as default secure protocols in WinHTTP in Windows



Re: Update to enable TLS 1.1 and TLS 1.2 as default secure protocols in WinHTTP in Windows

In C#:


ServicePointManager.Expect100Continue = true;

ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;// this is where you set TLS 1.2

ServicePointManager.DefaultConnectionLimit = 9999;