public bool DisconnectAsync() { if (!Connected) { throw new ProtocolException("Connection error: Not connected to server."); } return(_stream.DisconnectAsync(false)); }
public bool DisconnectAsync() { if (!Connected) { throw new ProtocolException("Connection error: Not connected to server."); } return(_stream.DisconnectAsync(false)); }