You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually most of the device doesn't have any product name or vendor name. but still, vendors added some information inside the "Bus reported device description"
Some of the devices only included the vendor and product information, but in most of the cases these values will be default ones like the product: "USB Input Device", vendor: "Standard System device".
Solution recommended
If possible we can include the "Bus reported device description" into the below query.
using ManagementObjectSearcher Win32_PnPEntity = new ManagementObjectSearcher($"SELECT Caption, ClassGuid, Description, DeviceID, Manufacturer FROM Win32_PnPEntity WHERE DeviceID LIKE '%{serial}%'");
This is the right method to identify the name for the devices most of the other keys are default ones so we are unable to find the exact devices.
This "Bus reported device description" can be set by the USB device, for instance
Some references.
public static DEVPROPKEY DEVPKEY_Device_BusReportedDeviceDesc = new DEVPROPKEY() { Fmtid = new Guid(0x540b947e, 0x8b40, 0x45bc, 0xa8, 0xa2, 0x6a, 0x0b, 0x89, 0x4c, 0xbd, 0xa2), Pid = 4 };
usbDevice.BusReportedDeviceDescription = usbDevice.GetPropertyValue(UsbDeviceWinApi.DevicePropertyKeys.DEVPKEY_Device_BusReportedDeviceDesc) as String;
The text was updated successfully, but these errors were encountered:
Actually most of the device doesn't have any product name or vendor name. but still, vendors added some information inside the "Bus reported device description"
Some of the devices only included the vendor and product information, but in most of the cases these values will be default ones like the product: "USB Input Device", vendor: "Standard System device".
Solution recommended
If possible we can include the "Bus reported device description" into the below query.
This is the right method to identify the name for the devices most of the other keys are default ones so we are unable to find the exact devices.
This "Bus reported device description" can be set by the USB device, for instance
Some references.
The text was updated successfully, but these errors were encountered: