FtMscLibEx ftxGetAvailableComPorts Method FtMscLibExNet for .NET framework 4
Support for fischertechnik TX-controller

[This is preliminary documentation and is subject to change.]

API 2.12
Function finds all available COM ports based on information in the Windows Registry and returns the number of ports. This information is managed internally in a static list for further use. To find and display the available COM ports, this function must be called first.

Namespace: FischerTechnik.FtMscLib.API
Assembly: FtMscLibVBNet (in FtMscLibVBNet.dll) Version: 1.0.0.1 (1.0.0.10)
Syntax

public uint ftxGetAvailableComPorts(
	int selectMode
)

Parameters

selectMode
Type: System Int32
information on whether all COM ports are read or only the ports that are intended for connection with a ROBO TX Controller (USB or Bluetooth) ALL_PORTS 0 all ports USB_ONLY 1 USB ports only BT_ONLY 2 Bluetooth connections only

Return Value

Type: UInt32
number of COM ports found in the internal list
Remarks

See Also

Reference