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); } }
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); } }