Binance.API.Csharp.Client
Binance.API.Csharp.Client copied to clipboard
TLS problem with websocket
Hi, I got an issue with ListenUserDataEndpoint method. It does not work. And Console shows a message http://joxi.ru/nAyKoXKta9kxam
10.07.2021 0:42:14|Fatal|WebSocket.connect:0|WebSocketSharp.WebSocketException: An error has occurred during a TLS handshake. ---> System.Security.Authentication.AuthenticationException: Error of SSPI call, internal exception. ---> System.ComponentModel.Win32Exception: This function not supported
I added a line in my console application
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
but it does not help.
What can I do?