Beispiel #1
0
        public static void Main(string[] args)
        {
            Usched req = new Usc();
            UschedEntry[] result;

            req.SetHostname("192.168.1.1");
            req.SetPort("7600");
            req.SetUsername("win32user");
            req.SetPassword("win32password");

            req.Request("show all");

            result = req.ResultShow();

            /* Print some results */
            for (int i = 0; i < result.Length; i ++) {
                Console.WriteLine("ID: " + result[i].Id.ToString("X") + ", Command: " + result[i].Command);
            }
        }
Beispiel #2
0
        public static void Main(string[] args)
        {
            Usched req = new Usc();

            UschedEntry[] result;

            req.SetHostname("192.168.1.1");
            req.SetPort("7600");
            req.SetUsername("win32user");
            req.SetPassword("win32password");

            req.Request("show all");

            result = req.ResultShow();

            /* Print some results */
            for (int i = 0; i < result.Length; i++)
            {
                Console.WriteLine("ID: " + result[i].Id.ToString("X") + ", Command: " + result[i].Command);
            }
        }