Disconnect Method
Disconnects from the named pipe.
Syntax
[VB.NET] Public Sub Disconnect()
[C#] public void Disconnect();
Remarks
This method disconnects from the pipe. Calling this method is equivalent to setting the Connected property to False.