Click or drag to resize

AlpacaDiscoveryGetAscomDevicesAsArrayList Method

Returns an ArrayList of discovered ASCOM devices, of the specified device type, for use by COM clients

Namespace:  ASCOM.Utilities
Assembly:  ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
public ArrayList GetAscomDevicesAsArrayList(
	string 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: ArrayList
ArrayList of AscomDeviceclasses

This method is for use by COM clients because it is not possible to return a generic list, as used in GetAscomDevices(String), through a COM interface. .NET clients should use GetAscomDevices(String) instead of this method.

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

See Also