ProfileUnRegister Method
Unregister an ASCOM device from the Profile.
Namespace: ASCOM.ComAssembly: ASCOM.Com (in ASCOM.Com.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
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