Using WMI I have found an ID that meets my expectations and is in Win32_USBHub
. The problem is that I need to somehow associate it with Win32_DiskDrive
or Win32_LogicalDisk
,.
If this is not possible, there must be another way to obtain it for a given device. There are a lot of questions of this type on the internet, but none of the ones I've seen with a solution.