Beispiel #1
0
        public bool DisconnectAsync()
        {
            if (!Connected)
            {
                throw new ProtocolException("Connection error: Not connected to server.");
            }

            return(_stream.DisconnectAsync(false));
        }