L Tiger

L Tiger

  • NA
  • 6
  • 0

USB devices and WMI

Aug 29 2009 1:09 PM
Hi,

i´ve a problem with usb devices and WMI. I´m writing a program (c#) to identify usb devices. Now i´ve to know the drive letter, the usb interal serial number (not the one, which Windows creates) and the VID/PID of the device. With WMI i´m able to read the drive letter and the internal serial number of all connected devices. But i can´t read the drive letter and the serial number only of the device i´ve connected at this moment.

Does anybody know, how to read out the three properties of a just connected usb device?

P.S.: I hope, this is the right forum to ask...

Answers (3)