Source

FingerCommLib / FingerCommLib / ComList.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO.Ports;

namespace Tuldok
{
    public static sealed class ComList
    {
        public static List<string> List()
        {
            List<string> list = new List<string>(SerialPort.GetPortNames());
            return list;
        }
    }
}