IRegistryClass.LocalMachine

Syntax

LocalMachine: IRegistryKey;

Description

The LocalMachine property returns the key containing settings related to this computer (for all users).

Example

Sub Main;

Var

RegKey: IRegistryKey;

Begin

RegKey := RegistryClass.LocalMachine;

Debug.WriteLine(RegKey.Name);

End Sub Main;

After executing the example name of the key that contains settings related to the given workstation (for all users) is displayed in the console.

See also:

IRegistryClass