Exemple #1
0
        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];

            getStat obj = new getStat();

            // run the script
            obj.run_commands(server_ip, username, password);
        }
Exemple #2
0
        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];

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