RegistryHelperCreateKey Method
Creates a registry key.
Namespace: MFiles.VAF.CommonAssembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
public static RegKey CreateKey(
UIntPtr hkey,
RegistryHelperRegistryAccessFlags accessFlags,
string key,
RegistryHelperRegSAM samDesired
)
- hkey UIntPtr
- The predefined or opened registry key (e.g. HKEY_LOCAL_MACHINE).
- accessFlags RegistryHelperRegistryAccessFlags
- Options for accessing the registry, see enumRegistryAccessFlags.
- key String
- Key name (e.g. SOFTWARE\Microsoft\Windows).
- samDesired RegistryHelperRegSAM
- Security access mask (e.g. KEY_READ or KEY_WRITE).
RegKeyRegKey