示例#1
0
        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);
        }
示例#2
0
        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);
        }