Click or drag to resize
RegistryHelperSetStringValue Method
Sets the string in a registry value.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static bool SetStringValue(
	RegistryKey baseKey,
	string path,
	string valueName,
	string newValue
)

Parameters

baseKey
Type: Microsoft.Win32RegistryKey
Base key, such as Registry.LocalMachine
path
Type: SystemString
Path to the key
valueName
Type: SystemString
Value name
newValue
Type: SystemString
New value

Return Value

Type: Boolean
See Also