示例#1
0
        public Server(int maxConnections = 100)
        {
            LogManager.SetMinimumLogLevel(SerilogLogLevel.Verbose);
            EventSink.OnLogEvent += EventSink_OnLogEvent;

            CertManager.GenerateCertificateAuthority();

            MaxConnections = maxConnections;
        }
示例#2
0
 public QuickRSA()
 {
     CertManager.CheckCertAuthority();
 }