Unable to connect via C#

Hi, I'm recieving an "An existing connection was forcibly closed by the remote host" error when using your C# example with the Ocp-Apim-Subscription-Key changed and postcode set. Can you see where I'm going wrong?

Attachments

Comments

  •  
    Resolved problem with telling .NET Framework to accept more certificate types than it does by default. ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
    Posted by Hidden Fri, 04 Jun 2021 11:57:44 GMT


You're not signed in. Please sign-in to report an issue or post a comment.