public static int Main(string[] args) { string certificate = Directory.GetCurrentDirectory() + "\\server.pfx"; SslTcpServer.RunServer(certificate); return(0); }
public static int Main(string[] args) { string certificate = "TestLabCA.pfx"; SslTcpServer.RunServer(certificate); Thread.Sleep(1000); return(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); }
public static int Main(string[] args) { SslTcpServer.RunServer(); return(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); }