ProfileRegisteredDevices Method

List the devices of a given device type that are registered in the Profile store

Definition

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
C#
public ArrayList RegisteredDevices(
	string DeviceType
)

Parameters

DeviceType  String
Type of devices to list

Return Value

ArrayList
An ArrayList of installed devices and associated device descriptions

Implements

IProfileRegisteredDevices(String)

Remarks

Use this to find all the registered devices of a given type that are in the Profile store

If a DeviceType is supplied, where no device of that type has been registered before on this system, an empty list will be returned

Exceptions

InvalidValueExceptionThrow if the supplied DeviceType is empty string or null value.

See Also