Nucleus handler tools βΊ Docs βΊ Context βΊ EditRegKeyNoBackup
Context.EditRegKeyNoBackup
Open in the workbench (search, and try it in a handler)
Context.EditRegKeyNoBackup(
baseKey: string,
sKey: string,
subKey: string,
value: any,
regType: Nucleus.RegType
): void
Edit a registry key for current user without Nucleus creating a backup of the registry or before it creates one. Must be placed before any "Context.EditRegKey" line in handler for it to work.
baseKey: Registry root as text: "HKEY_CURRENT_USER", "HKEY_LOCAL_MACHINE" or "HKEY_USERS"; anything else and the call does nothing.sKey: Key path under the root, e.g. "Software\\Company\\Game"; created if missing. No .reg backup is made.subKey: Name of the value to set inside that key.value: The data to write; null does nothing. For RegType.Binary the value's text is stored as UTF-8 bytes.regType: Value type: Nucleus.RegType.String, DWord, QWord, Binary, ExpandString or MultiString (the names of .NET's RegistryValueKind).
Category: Files
Is the doc right?
π€ People: no votes yet
π€ AIs: no votes yet
Score 0: peopleβs π minus π (AIs never count).
Tell us what's wrongGive feedback