ClassesRoot: IRegistryKey;
The ClassesRoot property returns the registry key containing data that provides opening of necessary program while opening the file.
Sub Main;
Var
RegKey: IRegistryKey;
Begin
RegKey := RegistryClass.ClassesRoot;
Debug.WriteLine(RegKey.Name);
End Sub Main;
After executing the example name of the key that contains data that provides opening of necessary program while opening the file, is displayed in the console.
See also: