LocalMachine: IRegistryKey;
The LocalMachine property returns the key containing settings related to this computer (for all users).
Sub UserProc;
Var
RegKey: IRegistryKey;
Begin
RegKey := RegistryClass.LocalMachine;
Debug.WriteLine(RegKey.Name);
End Sub UserProc;
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: