RegistryHelperDeleteRegKey(UIntPtr, RegistryHelperRegistryAccessFlags, String) Method

Deletes the registry key. The key must not have subkeys.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public static void DeleteRegKey(
	UIntPtr hkey,
	RegistryHelperRegistryAccessFlags accessFlags,
	string keyName
)

Parameters

hkey  UIntPtr
The predefined or opened registry key (e.g. HKEY_LOCAL_MACHINE).
accessFlags  RegistryHelperRegistryAccessFlags
Options for accessing the registry, see enumRegistryAccessFlags.
keyName  String
The name of the key relative to HKEY.

See Also