In my one project, I need to create an application to upgrade the firmware of the device. Here comport is using for the communication. We cannot fix the COM ID of the USB device in the application because the device could be enumerated with different com id on a different machine as per the availability.
- Stallion Port Devices Driver Updater
- Stallion Port Devices Driver Download
- Stallion Port Devices Driver License Test
Laptops and netbooks:: thinkpad t series laptops:: thinkpad t490 type 20n2 20n3contentdetail - Lenovo Support US. Because from what i am reading, changing the com port number in the ini file, will allow you to control what com port gets assigned to the Topaz device in Windows. Are you using the topaz HSB to Com driver? If so this document might be helpful. Steps 4 and 5 explain how to modify the SigPlus.ini file to set the com port that you need it to use.
So the solution is that displays the list of all known com ports and users select the correct com port. But it is not a good idea to show all com port, I want that application to identify the com id itself.

Every USB device has a unique hardware id (the combination of VID and PID), so to accomplish the above task my approach is to get COM PORT of USB Serial Device on the basis of VID/PID. The registry of the windows kept the information of the device, so simple logic here to open the windows registry and get the com id.
You can See this Article, Read & Write Windows Registry
How to find the VID and PID numbers
To find the vid (Vendor ID) and PID (Product ID) of a serial USB device first you need to attach the device with your PC. Now you need to follow the below steps to get the vid and PID.
1. Go to Control Panel > Device Manager > Ports.
2. Select the desire com port and double click on it or right-click and select Properties.


3. Go to the Details tab and select Hardware ID to view its PID and VID.
If you want to learn about windows internal, here 10 Free days windows internal course for you.
Stallion Port Devices Driver Updater
See the below code to get COM PORT of USB Serial Device (Arduino ) in the Windows machine.
Stallion Port Devices Driver Download
Recommended Posts for you:
Stallion Port Devices Driver License Test
Reference: MSDN
