Click or drag to resize

AlpacaDiscoveryGetAscomDevices Method

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

Namespace:  ASCOM.Utilities
Assembly:  ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
Syntax
public List<AscomDevice> GetAscomDevices(
	string deviceType
)

Parameters

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

Return Value

Type: 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