static void Main(string[] args) { string input = "hello"; SecureClient client = null; try { client = new SecureClient(); if (args.Length > 1) { client.url = args[0]; input = args[1]; client.Run(input); } else { Console.WriteLine("Usage: SecClient.exe [url] [input string]"); } } catch (Exception ex) { Console.WriteLine(ex); } Console.WriteLine(""); }
static void Main (string[] args) { string input = "hello"; SecureClient client = null; try { client = new SecureClient (); if (args.Length > 1) { client.url = args[0]; input = args[1]; client.Run (input); } else { Console.WriteLine ("Usage: SecClient.exe [url] [input string]"); } } catch (Exception ex) { Console.WriteLine (ex); } Console.WriteLine (""); }