This commit is contained in:
2025-08-21 15:29:43 +02:00
parent d86433db2a
commit 1b11821ebc
11 changed files with 707 additions and 160 deletions

View File

@@ -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);