///<inheritdoc/> public void Disconnect() { if (this.IsConnected) { _peer.Disconnect(); this.IsConnected = false; } }
///<inheritdoc/> public void Disconnect() { if (_peer != null) { try { _peer.Disconnect(); } catch (JetPeerException) { } } this.IsConnected = false; }
public void DisconnectDevice() { _peer.Disconnect(); this._connected = false; this.RaiseDataEvent = null; }