title: Scanning for a Human Interface Device (HID) using C#
body: <p>I am developing a C# .NET 2.0 application wherein I need to scan for an attached HID.  How can this be done?  Because it is a HID, Windows does not assign a COM port to it.  I only need to programmatically determine if the device is attached.  Thank you.</p>
  
  <p><strong><em>ADDITIONAL INFORMATION</em></strong></p>
  
  <p>When I connect the USB device to my computer two entries appear under <strong>Human Interface Devices</strong> in the Device Manager.  Clicking into their Properties yields this information in their respective Details tabs:</p>
  
  <p><strong>HID-compliant device</strong>
  Device Instance Id: HID\VID_1795&amp;PID_6004\7&amp;2694D932&amp;0&amp;0000</p>
  
  <p><strong>USB Human Interface Device</strong>
  Device Instance Id: USB\VID_1795&amp;PID_6004\B973000000EB0D00</p>