The DisGUISE C# class library

IPhonePort.Stop Method 

Terminate to the connection to the phone and stop processing further events and commands

void Stop();

See Also

IPhonePort Interface | DisGUISE.Backend Namespace