SerialDevice.name

I have a situation where a device is showing up as COM4, but it has a proper name, which shows in the device manager.

Anyone know how to get that friendly name?

I am not sure what you are referring to as “proper name” or “friendly name”. The device manager tells you what type of device is present and the device’s name, for instance “USB Serial Port (COM4)”. If you have multiple serial ports, the “friendly names” are likely to all be the same. There must be a Windows DLL that could provide it, but I don’t know how to access it.

Yes I’m looking for the vendor device name (COM4).
Since the device manager can show that, and the equivalent in the system report on Mac, I was hoping to be able to find that name.

Check out Chris Carter’s stuff here, it might be useful. Gets loads of information about connected devices under Windows, pretty much everything Device Manager can show.

http://www.cmas-net.co.uk/rslug/Eg-5-DeviceList.rbp

Original thread here: USB to Serial Comm Device Change Event - #10 by BO_CHEN

1 Like

Thank you! I will check it out today.