ProfileIsRegistered Method
Tests whether a given device is registered in the ASCOM Profile.
Namespace: ASCOM.ComAssembly: ASCOM.Com (in ASCOM.Com.dll) Version: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
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