Answers for "the request was aborted could not create ssl/tls secure channel. c# httpclient"

C#
4

The request was aborted: Could not create SSL/TLS secure channel

// using System.Net;
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
// Use SecurityProtocolType.Ssl3 if needed for compatibility reasons
Posted by: Guest on September-29-2020
-1

the request was aborted could not create ssl/tls secure channel. c# restsharp

//Add this line of code before RestClient
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
Posted by: Guest on April-04-2020

Code answers related to "the request was aborted could not create ssl/tls secure channel. c# httpclient"

C# Answers by Framework

Browse Popular Code Answers by Language