/// <summary>
 /// Close current device. No-op if no device is opened.
 /// </summary>
 private void CloseDevice()
 {
     if (this.deviceHandle != InvalidDevcieHandle)
     {
         Delcom.DelcomCloseDevice(this.deviceHandle);
         this.deviceHandle = InvalidDevcieHandle;
     }
 }
 public static void CloseDelcomDevice(uint hUSB)
 {
     Delcom.DelcomCloseDevice(hUSB);
 }