1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="RegistryView" FullName="Microsoft.Win32.RegistryView">
3 <TypeSignature Language="C#" Value="public enum RegistryView" />
4 <TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed RegistryView extends System.Enum" />
6 <AssemblyName>mscorlib</AssemblyName>
7 <AssemblyVersion>4.0.0.0</AssemblyVersion>
10 <BaseTypeName>System.Enum</BaseTypeName>
14 <attribution license="cc4" from="Microsoft" modified="false" />
15 <para>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.</para>
16 <para>You can specify a registry view when you use the <see cref="M:Microsoft.Win32.RegistryKey.OpenBaseKey(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView)" /> and <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String,Microsoft.Win32.RegistryView)" /> methods, and the <see cref="M:Microsoft.Win32.RegistryKey.FromHandle(Microsoft.Win32.SafeHandles.SafeRegistryHandle,Microsoft.Win32.RegistryView)" /> property on a <see cref="T:Microsoft.Win32.RegistryKey" /> object.</para>
17 <para>If you request a 64-bit view on a 32-bit operating system, the returned keys will be in the 32-bit view.</para>
20 <attribution license="cc4" from="Microsoft" modified="false" />
21 <para>Specifies which registry view to target on a 64-bit operating system.</para>
25 <Member MemberName="Default">
26 <MemberSignature Language="C#" Value="Default" />
27 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.RegistryView Default = int32(0)" />
28 <MemberType>Field</MemberType>
30 <AssemblyVersion>4.0.0.0</AssemblyVersion>
33 <ReturnType>Microsoft.Win32.RegistryView</ReturnType>
37 <attribution license="cc4" from="Microsoft" modified="false" />
38 <para>The default view.</para>
42 <Member MemberName="Registry32">
43 <MemberSignature Language="C#" Value="Registry32" />
44 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.RegistryView Registry32 = int32(512)" />
45 <MemberType>Field</MemberType>
47 <AssemblyVersion>4.0.0.0</AssemblyVersion>
50 <ReturnType>Microsoft.Win32.RegistryView</ReturnType>
54 <attribution license="cc4" from="Microsoft" modified="false" />
55 <para>The 32-bit view.</para>
59 <Member MemberName="Registry64">
60 <MemberSignature Language="C#" Value="Registry64" />
61 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.RegistryView Registry64 = int32(256)" />
62 <MemberType>Field</MemberType>
64 <AssemblyVersion>4.0.0.0</AssemblyVersion>
67 <ReturnType>Microsoft.Win32.RegistryView</ReturnType>
71 <attribution license="cc4" from="Microsoft" modified="false" />
72 <para>The 64-bit view.</para>