ProfileUnRegister Method
Unregister an ASCOM device from the Profile.
Namespace: ASCOM.ComAssembly: ASCOM.Com (in ASCOM.Com.dll) Version: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
public static void UnRegister(
DeviceTypes deviceType,
string progId
)
Public Shared Sub UnRegister (
deviceType As DeviceTypes,
progId As String
)
Parameters
- deviceType DeviceTypes
- ASCOM device type e.g. Telescope.
- progId String
- COM ProgID of the driver
This method will succeed (no exception will be thrown) regardless of whether or not the device is registered.
Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10