function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ishan MalikIshan Malik 

Use TLS 1.1 or higher when connecting to Salesforce using https.

I am using .NET Framework 4.5.2. I have generated enterprise wsdl as per given instructions


Use TLS 1.0, 1.1, 1.2 is already checked from Internet options -> Advanced
Also, I am not getting any option in critical update section for Require TLS 1.1 or higher for HTTPS connections

User-added image

but still I am getting following error:
UNSUPPORTED_CLIENT: TLS 1.0 has been disabled in this organization. Please use TLS 1.1 or higher when connecting to Salesforce using https.

I have an urgent requirement. Please answer asap.

NagendraNagendra (Salesforce Developers) 
Hi Ishan,

May I suggest you to please check with below link from forums community which might help you to accelerate on the above requirement. Best Regards,
Nagendra.
Ishan MalikIshan Malik

Thanks Nagendra.

Just add the following line into constructor

System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;