I am getting below error and i am not expert in SOAP API integration.

Below code was working fine but suddenly i have start getting the above error, to solve this issue i have used the below code also
ServicePointManager.SecurityProtocol := SecurityProtocolType.Tls12; but no luck.

i am getting error on the this line of code
Str := lgResponse.GetResponseStream();
On the endpoint 1.2 is enabled i don't know what to do now, Any help is highly appreciated
Answers