ProfileIsRegistered Method
Tests whether a given device is registered in the ASCOM Profile.
Namespace: ASCOM.ComAssembly: ASCOM.Com (in ASCOM.Com.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static bool IsRegistered(
DeviceTypes deviceType,
string progId
)
Public Shared Function IsRegistered (
deviceType As DeviceTypes,
progId As String
) As Boolean
- deviceType DeviceTypes
- ASCOM device type e.g. Telescope.
- progId String
- COM ProgID of the driver
Boolean if the device is registered, otherwise returns
.
Supported in: 2.0