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

Yes, it supports it but you must explicitly set the TLS version on the ServicePointManager. Just have this code run anytime (in same app domain) before you make the call to Experian:

System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12

Update

see @iignatov ‘s answer for what you must do for framework v4.0. My code works with 4.5+

Leave a Comment