Is there a correct way of automatically detecting when my STM32 device gets connected to the computer through USB? I'm using .NET C# for my desktop application. For now I have to connect my device and then manually choose from a list of COM Ports the correct one to connect to it. I would like to automate this process.
Thanks a lot!