Exemple #1
0
        public static int Main(string[] args)
        {
            string certificate = Directory.GetCurrentDirectory() + "\\server.pfx";

            SslTcpServer.RunServer(certificate);
            return(0);
        }
Exemple #2
0
        public static int Main(string[] args)
        {
            string certificate = "TestLabCA.pfx";

            SslTcpServer.RunServer(certificate);
            Thread.Sleep(1000);
            return(0);
        }
Exemple #3
0
        public static int Main(string[] args)
        {
            string certificate = null;

            if (args == null || args.Length < 1)
            {
                DisplayUsage();
            }
            certificate = args[0];
            SslTcpServer.RunServer(certificate);
            return(0);
        }
Exemple #4
0
 public static int Main(string[] args)
 {
     SslTcpServer.RunServer();
     return(0);
 }
Exemple #5
0
 public static int Main(string[] args)
 {
     SslTcpServer.RunServer("C:/Users/Administrator/Desktop/server.pfx");
     //SslTcpServer.RunServer("C:/Users/Administrator/Desktop/bad.pfx");
     return(0);
 }