UtilLicensingRemoveProductKeyFromRegistry Method

Removes the Windows product key from registry (to prevent unauthorized diffusion) of the current operating system.

It does not uninstall the product key.

Definition

Namespace: DevCase.Core.Windows.Licensing
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void RemoveProductKeyFromRegistry()

Remarks

Exceptions

PlatformNotSupportedException Windows 7 or newer is required to use this feature.
Exception Unknown error occurred during the product key removal attempt.

See Also