Name

RegistryHive

Synopsis

This enumeration provides values for the RegistryKey.OpenRemoteBaseKey() method. These values identify a registry key, just like the fields in the Registry class.

public enum RegistryHive {
            ClassesRoot = 0x80000000,
            CurrentUser = 0x80000001,
            LocalMachine = 0x80000002,
            Users = 0x80000003,
            PerformanceData = 0x80000004,
            CurrentConfig = 0x80000005,
            DynData = 0x80000006
}

Hierarchy

System.ObjectSystem.ValueTypeSystem.Enum(System.IComparable, System.IFormattable, System.IConvertible)RegistryHive

Passed To

RegistryKey.OpenRemoteBaseKey()

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.