All available serial port names
Depending on, if the code has been compiled with CHECK_AVAILABLE_PORTS defined or not this array contains a sorted output of System.IO.Ports.SerialPort.GetPortNames() or only these ports, which could be opened without an exception. The check, if the port can be opened, takes a remarkable amount of time on small and slow mobile devices, therefore it is better to compile the code without this define.
Serial Class | serial Namespace