O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required