List the comm ports available on a system.

Namespace:  VideoRay.Communication
Assembly:  vrLib (in vrLib.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public static List<CommPortName> EnumeratePorts(
	bool withOpenableCheck
)
Visual Basic (Declaration)
Public Shared Function EnumeratePorts ( _
	withOpenableCheck As Boolean _
) As List(Of CommPortName)
Visual C++
public:
static List<CommPortName^>^ EnumeratePorts(
	bool withOpenableCheck
)

Parameters

withOpenableCheck
Type: System..::.Boolean
If true, only list ports that can be opened

See Also