Registry
Provides RegistryKey objects that represent the root keys in the Windows registry, and static methods to access key/value pairs.
Defines the types (or classes) of documents and the properties associated with those types. This field reads the Windows registry base key HKEY_CLASSES_ROOT.
Contains configuration information pertaining to the hardware that is not specific to the user. This field reads the Windows registry base key HKEY_CURRENT_CONFIG.
Contains information about the current user preferences. This field reads the Windows registry base key HKEY_CURRENT_USER.
Contains the configuration data for the local machine. This field reads the Windows registry base key HKEY_LOCAL_MACHINE.
Contains performance information for software components. This field reads the Windows registry base key HKEY_PERFORMANCE_DATA.
Contains information about the default user configuration. This field reads the Windows registry base key HKEY_USERS.
Retrieves the value associated with the specified name, in the specified registry key. If the name is not found in the specified key, returns a default value that you provide, or null if the specified key does not exist.
Sets the specified name/value pair on the specified registry key. If the specified key does not exist, it is created.
public static void SetValue(string keyName, string valueName, object value, RegistryValueKind valueKind)
Sets the name/value pair on the specified registry key, using the specified registry data type. If the specified key does not exist, it is created.