예제 #1
0
 ///<inheritdoc/>
 public void Disconnect()
 {
     if (this.IsConnected)
     {
         _peer.Disconnect();
         this.IsConnected = false;
     }
 }
예제 #2
0
 ///<inheritdoc/>
 public void Disconnect()
 {
     if (_peer != null)
     {
         try
         {
             _peer.Disconnect();
         }
         catch (JetPeerException)
         {
         }
     }
     this.IsConnected = false;
 }
예제 #3
0
 public void DisconnectDevice()
 {
     _peer.Disconnect();
     this._connected     = false;
     this.RaiseDataEvent = null;
 }