I have the vendor id and product id of a specific usb device I’m looking to open a serial connection to. I know the device will support the connection. What I need to do is create a list of only the paths for this particular class of device. There could be more than one of the same device connected.
The current code just does
Var DeviceBound As Integer = SerialDevice.Count - 1 For Idx As Integer = 0 To DeviceBound Var Device As SerialDevice = SerialDevice.At(Idx) // Do stuff Next Idx
But this of course shows me all devices without a way for me to determine which of them are for the device I’m looking for. On Mac this has been solved with IORegistry. On Windows, I don’t really know where to begin. MBS plugins are an option. Anybody have any ideas?