Is that possible to send HttpWebRequest using TLS1.2 on .NET 4.0 framework

后端 未结 6 1871
长发绾君心
长发绾君心 2020-11-30 06:27

My application connects to Experian server and Experian will soon stop supporting TLS 1.0 and TLS 1.1. All connectivity using HTTPS must use TLS Version 1.2.

I want

6条回答
  •  时光说笑
    2020-11-30 07:07

    You can also use this:

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | (SecurityProtocolType)768 | (SecurityProtocolType)3072;
    

提交回复
热议问题