Disconnect Method
Disconnects from the remote host.
Syntax
[VB.NET] Public Sub Disconnect()
[C#] public void Disconnect();
Remarks
This method disconnects from the remote host. Calling this method is equivalent to setting the Connected property to False.
NOTE: This method has a corresponding asynchronous version (DisconnectAsync) for use in the Xamarin environment.