AlpacaDiscoveryGetAscomDevices Method
Returns a generic list of discovered ASCOM devices of the specified device type.
Namespace: ASCOM.Alpaca.DiscoveryAssembly: ASCOM.Alpaca (in ASCOM.Alpaca.dll) Version: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
public List<AscomDevice> GetAscomDevices(
DeviceTypes? deviceType
)
Public Function GetAscomDevices (
deviceType As DeviceTypes?
) As List(Of AscomDevice)
- deviceType NullableDeviceTypes
- The device type for which to search e.g. Telescope, Focuser. Use to return devices of all types.
ListAscomDeviceList of AscomDevice classes
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 null.
Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10