AlpacaDiscoveryGetAscomDevices Method

Returns a generic list of discovered ASCOM devices of the specified device type.

Definition

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
C#
public List<AscomDevice> GetAscomDevices(
	string deviceType
)

Parameters

deviceType  String
The device type for which to search e.g. Telescope, Focuser. An empty string will return devices of all types.

Return Value

ListAscomDevice
List of AscomDevice classes

Remarks

This method is only available to .NET clients because COM cannot handle generic types. COM clients should use GetAlpacaDevicesAsArrayList.

This method will return every discovered device, regardless of device type, if the supplied "deviceType" parameter is an empty string.

See Also