CurrentConfig: IRegistryKey;
The CurrentConfig property returns the key containing data about equipment profile used by local computer while starting up the system.
Sub UserProc;
Var
RegKey: IRegistryKey;
Begin
RegKey := RegistryClass.CurrentConfig;
Debug.WriteLine(RegKey.Name);
End Sub UserProc;
After executing the example the console displays name of the key that contains data about equipment profile used by local computer on system startup.
See also: