Enumerate serial ports

String PortName = "";

try
{
	UInt16 PortsCount = ftspcControl1.EnumSerialPorts();

	for (UInt16 i = 0; i < PortsCount; i++)
	{
		PortName = ftspcControl1.GetSerialPort(i);

		// Todo: add your code

	}
}
catch (FTSPCException E)
{
	MessageBox.Show("Error " + E.ErrorCode.ToString() + "\r\n" + 
	E.ErrorSource, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}