I am writing a C# application that monitors and logs the different USB devices that are being connected to a windows system. Using Window's setup API, I am able to get the details such as VID, PID, Hardware Id and Friendly name. What I wanted to ask is is there a way in Windows to check is the connected device is a SmartPhone, or a Printer, or a Mass Storage device, or a Modem?
Note: Using SetupGerDeviceRegistryProperty()
I am able to get the Device Description but for all devices it shows that the Device Description is USB Composite Device.