Hello
I use VS2015 IDE to examine your code, but it can't get usb hub's properties, were you able to access them without any problem?
When i run the code, it detects 6 devices but it can't access device[0] and device[1] properties while can access device[2] to device[5].
It reports 'access violation'.