1、获取当前可用串口端口号
1 using System.IO.Ports; 2 string[] portNames = SerialPort.GetPortNames();
C#学习笔记(2)
原文:http://www.cnblogs.com/drobot/p/4030075.html