Table of Contents

Class RegistryUtils

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains static methods related to Windows registry.

public static class RegistryUtils
Inheritance
RegistryUtils

Fields

RegKey

Default reg key for the Alternet.UI.

RegKeySuffix

Default reg key suffix for the Alternet.UI.

RegKeyWow6432Node

Default reg key for the Alternet.UI on Wow6432.

UseWow6432Node

Gets or sets whether to use RegKeyWow6432Node when WriteRelativeValue(string, string, object, RegistryValueKind, RegistryHive) and other relative read/write operatiions are performed. Default is false.

Methods

GetRelativeSubKeyNames(string, RegistryHive)

Retrieves an array of strings that contains all the subkey names specified with the relative path to the registry key.

GetSubKeyNames(string, RegistryHive)

Retrieves an array of strings that contains all the subkey names.

ReadRelativeString(string, string, RegistryHive)

Reads string value from Windows registry key specified with the relative path.

ReadRelativeValue(string, string, RegistryHive)

Reads value from Windows registry key specified with the relative path.

ReadString(string, string, RegistryHive)

Reads string value from Windows registry.

ReadUIXmlPreviewPath()

Reads from registry path to the UIXmlPreview application.

ReadValue(string, string, RegistryHive)

Reads value from Windows registry.

WriteRelativeValue(string, string, object, RegistryValueKind, RegistryHive)

Writes value to Windows registry key specified with the relative path.

WriteUIXmlPreviewPath(string)

Writes to registry path to the UIXmlPreview application.

WriteValue(string, string, object, RegistryValueKind, RegistryHive)

Writes value to Windows registry.