The request was aborted: Could not create SSL/TLS secure channel.
EXCEPTION: The request was aborted: Could not create SSL/TLS secure channel.
Solution:
C#
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
Target framework
.NET Framework 4.6.2
Solution:
C#
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
Target framework
.NET Framework 4.6.2
Comments
Post a Comment