Screenary.TransportClient.Disconnect C# (CSharp) Method

Disconnect() public method

public Disconnect ( ) : bool
return bool
        public bool Disconnect()
        {
            dispatcher.OnDisconnect();

            if (tcpClient != null)
                tcpClient.Close();

            return true;
        }