RuntimeManagerClientDisconnected Event |
Namespace: OpenTestSystem.Otx.Runtime.Api
static class Program { static void Main() { RuntimeManager rt = new RuntimeManager(); rt.Load("C:\\Sample.ptx"); rt.ClientDisconnected += new OpenTestSystem.Otx.Runtime.Api.Event.ClientDisconnectedHandler(ClientDisconnected); rt.Connect("192.168.1.30", 1001); rt.Disconnect(); } private static void ClientDisconnected(string hostIpAddress, string hostName) { Console.WriteLine(string.Format("Disconnected from {0} ({1}).", hostIpAddress, hostName)); } }