RegistryView Enumeration

RegistryView Enumeration

.NET Framework 4.6 and 4.5

Specifies which registry view to target on a 64-bit operating system.

Namespace:   Microsoft.Win32
Assembly:  mscorlib (in mscorlib.dll)

Public Enumeration RegistryView

Member nameDescription

The default view.


The 32-bit view.


The 64-bit view.

On the 64-bit version of Windows, portions of the registry are stored separately for 32-bit and 64-bit applications. There is a 32-bit view for 32-bit applications and a 64-bit view for 64-bit applications.

You can specify a registry view when you use the OpenBaseKey and OpenRemoteBaseKey(RegistryHive, String, RegistryView) methods, and the FromHandle property on a RegistryKey object.

If you request a 64-bit view on a 32-bit operating system, the returned keys will be in the 32-bit view.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft