Click or drag to resize

RegistryHelper Methods

The RegistryHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateKey
Creates a registry key.
Public methodStatic memberDeleteRegKey(UIntPtr, RegistryHelperRegistryAccessFlags, String)
Deletes the registry key. The key must not have subkeys.
Public methodStatic memberDeleteRegKey(UIntPtr, RegistryHelperRegSAM, String)
Deletes the registry key. The key must not have subkeys.
Public methodStatic memberDeleteRegKeyEx_Wrapper
Deletes the registry key. Deals with missing implementation on pre-XP SP2 systems. The key must not have subkeys.
Public methodStatic memberDeleteRegValue
Deletes the registry value.
Public methodStatic memberEnumSubkeyByIndex
Enumerates a sub-key of the given key specified by index.
Public methodStatic memberEnumSubkeys
Enumerates all sub-keys. If key is missing, return empty vector.
Public methodStatic memberGetProcAddress
Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).
Public methodStatic memberIsWow64Process
Determines whether the specified process is running under WOW64 or an Intel64 of x64 processor.
Public methodStatic memberOpenKey
Tries to open registry key. If the key cannot be found, pbExists receives false.
Public methodStatic memberReadRegValue(UIntPtr, RegistryHelperRegistryAccessFlags, String, String)
Reads RegValue from registry. If the key or value is missing, tells it.
Public methodStatic memberReadRegValue(UIntPtr, RegistryHelperRegistryAccessFlags, String, String, RegistryHelperRegSAM)
Reads RegValue from registry. If the key or value is missing, tells it.
Public methodStatic memberRegCloseKey
Closes a handle to the specified registry key.
Public methodStatic memberRegDeleteKey
Deletes a subkey and its values. Note that key names are not case sensitive. - 64-bit Windows: On WOW64, 32-bit applications view a registry tree that is separate from the registry tree that 64-bit applications view. To enable an application to delete an entry in the alternate registry view, use the RegDeleteKeyEx function.
Public methodStatic memberRegDeleteKeyEx
Deletes a subkey and its values from the specified platform-specific view of the registry. Note that key names are not case sensitive. - To delete a subkey as a transacted operation, call the RegDeleteKeyTransacted function.
Public methodStatic memberRegDeleteValue
Removes a named value from the specified registry key. Note that value names are not case sensitive.
Public methodStatic memberWriteRegValue
Writes the specified value to the registry.
Top
See Also