The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
webSocket.ConnectAsync(new Uri(uri), CancellationToken.None);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)