ProfileIsRegistered Method
Tests whether a given device is registered in the ASCOM Profile.
Namespace: ASCOM.ComAssembly: ASCOM.Com (in ASCOM.Com.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
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: .NET Standard 2.0, .NET 8 .NET 9. .NET 10