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