Exemplo n.º 1
0
 public void Shutdown()
 {
     device?.CloseInterface();
 }
Exemplo n.º 2
0
 //error callback
 public void HandlePIEHidError(Int32 error, PIEDevice sourceDevice)
 {
     this.SetToolStrip("Error: " + error.ToString());
     if (error == 307)
         sourceDevice.CloseInterface();
 }