wss 增加tls 版本
This commit is contained in:
parent
994fc8dc2c
commit
7fd2e915ef
@ -22,7 +22,7 @@ namespace WebSocketTool.Client
|
||||
mSocket = new WebSocket(url);
|
||||
if (url.StartsWith("wss"))
|
||||
{
|
||||
mSocket.SslConfiguration.EnabledSslProtocols = SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12;
|
||||
mSocket.SslConfiguration.EnabledSslProtocols = SslProtocols.Tls;
|
||||
}
|
||||
mSocket.OnOpen += OnOpen;
|
||||
mSocket.OnClose += OnClose;
|
||||
|
@ -51,5 +51,5 @@ using System.Windows;
|
||||
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
|
||||
//通过使用 "*",如下所示:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
[assembly: AssemblyVersion("1.0.0.1")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.1")]
|
||||
|
Loading…
Reference in New Issue
Block a user