t3knomanzer / maxmix-software

Maxmix volume mixer software repository
https://maxmixproject.com
Apache License 2.0
124 stars 30 forks source link

Query available devices from Win32_PnPEntity in FirmwareInstaller #259

Open samgaudr opened 2 years ago

samgaudr commented 2 years ago

Issues

Description

Currently, the available devices in FirmwareInstaller are listed by their port name (COM1, COM2..). With those changes, the devices will have the same name as in the device manager (ex: USB-SERIAL CH340 (COM3)).

Types of changes

Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

Device are now acquired with a query on Win32_PnPEntity instead of a call to System.IO.Ports.SerialPort.GetPortNames().