Updated
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using EonaCat.Connections;
|
||||
using EonaCat.Connections.Models;
|
||||
using EonaCat.Connections.Models;
|
||||
|
||||
namespace EonaCat.Connections.Server.Example
|
||||
{
|
||||
@@ -39,8 +38,8 @@ namespace EonaCat.Connections.Server.Example
|
||||
UseSsl = false,
|
||||
UseAesEncryption = true,
|
||||
MaxConnections = 100000,
|
||||
AesPassword = "p@ss",
|
||||
//ServerCertificate = new System.Security.Cryptography.X509Certificates.X509Certificate2("server.pfx", "p@ss"),
|
||||
AesPassword = "EonaCat.Connections.Password",
|
||||
Certificate = new System.Security.Cryptography.X509Certificates.X509Certificate2("server.pfx", "p@ss")
|
||||
};
|
||||
|
||||
_server = new NetworkServer(config);
|
||||
|
Reference in New Issue
Block a user