Esempio n. 1
0
        public void RefeshSerialPort()
        {
            ComPort.Clear();

            foreach (string searchPort in SerialPort.GetPortNames())
            {
                ComPort.Add(searchPort);
            }
        }