static void Main(string[] args) { if (args.Length < 3) { // usage Console.WriteLine("Usage: getConfig <NS IP> username password"); return; } string server_ip = args[0]; string username = args[1]; string password = args[2]; getConfig obj = new getConfig(); // run the script obj.run_commands(server_ip, username, password); }
static void Main(string[] args) { if ( args.Length < 3) { // usage Console.WriteLine("Usage: getConfig <NS IP> username password"); return; } string server_ip = args[0]; string username = args[1]; string password = args[2]; getConfig obj = new getConfig(); // run the script obj.run_commands(server_ip,username,password); }