Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            //
            // TODO: Add code to start application here
            //
            if (args.Length < 3)
            {
                // usage
                Console.WriteLine("Usage: setConfig <NS IP> username password");
                return;
            }
            string server_ip = args[0];
            string username  = args[1];
            string password  = args[2];

            setConfig obj = new setConfig();

            // run the script
            obj.run_commands(server_ip, username, password);
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            //
            // TODO: Add code to start application here
            //
            if ( args.Length < 3)
            {
                // usage
                Console.WriteLine("Usage: setConfig <NS IP> username password");
                return;
            }
            string server_ip = args[0];
            string username = args[1];
            string password = args[2];

            setConfig obj = new setConfig();
            // run the script
            obj.run_commands(server_ip,username,password);
        }