Interaction with Arduino via Serial port using WinUI3 (c#, .net 6.0) lists the available serial ports read and parse command from serial port write to serial port
it uses Systems.IO.Ports
includes sample Arduino code for interation CommandLine.H in arduino file i downloaded from https://create.arduino.cc/projecthub/mikefarr/simple-command-line-interface-4f0a3f Thanks to the creator