Marfusios / websocket-client

🔧 .NET/C# websocket client library
MIT License
682 stars 126 forks source link

WebsocketClient.NativeClient.get Return null #128

Closed znahovo closed 1 year ago

znahovo commented 1 year ago

these code were used

 string cacert = File.ReadAllText("D:\\vsproj\\EdgeGPTCsharp\\EdgeGPTCsharp\\cacert.pem");
            var a = new X509Certificate2(Encoding.ASCII.GetBytes(cacert));

         wss.NativeClient.Options.ClientCertificates.Add(a);