Click or drag to resize

RuntimeManagerDisconnect Method

Disconnects from the connected host.

Namespace:  OpenTestSystem.Otx.Runtime.Api
Assembly:  OpenTestSystem.Otx.Runtime.Api (in OpenTestSystem.Otx.Runtime.Api.dll) Version: 5.5.0.0 (6.1.0.31040)
Syntax
public void Disconnect()

Implements

IRuntimeManagerDisconnect
Exceptions
ExceptionCondition
ConnectionExceptionNo connection exists.
Examples
The following code example disconnects the client from the host after connected.
C#
static class Program
{
    static void Main()
    { 
        RuntimeManager rt = new RuntimeManager();
        rt.Load("C:\\Sample.ptx");
        rt.Connect("192.168.1.30", 1001);
        rt.Disconnect();
    } 
}
See Also