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.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
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