Disconnect Method
Disconnect from the remote host.
Syntax
[VB.NET] Public Sub Disconnect()
[C#] public void Disconnect();
Remarks
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.