Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
480 lines (471 sloc) 25.6 KB
<Type Name="RegistryRights" FullName="System.Security.AccessControl.RegistryRights">
<TypeSignature Language="C#" Value="public enum RegistryRights" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed RegistryRights extends System.Enum" />
<TypeSignature Language="DocId" Value="T:System.Security.AccessControl.RegistryRights" />
<TypeSignature Language="VB.NET" Value="Public Enum RegistryRights" />
<TypeSignature Language="C++ CLI" Value="public enum class RegistryRights" />
<TypeSignature Language="F#" Value="type RegistryRights = " />
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Attributes>
<Attribute FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0;netcore-2.1;netframework-4.8;dotnet-plat-ext-2.1;netcore-2.2;netcore-3.0;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0">
<AttributeName>System.Flags</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Specifies the access control rights that can be applied to registry objects.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Security.AccessControl.RegistryRights> enumeration to specify registry access rights when you create <xref:System.Security.AccessControl.RegistrySecurity> objects. To apply access rights to a registry key, first add <xref:System.Security.AccessControl.RegistryAccessRule> objects to a <xref:System.Security.AccessControl.RegistrySecurity> object, then attach the <xref:System.Security.AccessControl.RegistrySecurity> object to the key using the <xref:Microsoft.Win32.RegistryKey.SetAccessControl%2A?displayProperty=nameWithType> method, or an appropriate overload of the <xref:Microsoft.Win32.RegistryKey.CreateSubKey%2A?displayProperty=nameWithType> method.
## Examples
The following code example demonstrates the use of the <xref:System.Security.AccessControl.RegistryRights> enumeration. The code creates a test key, allowing the current user ReadKey and Delete access rights but denying ChangePermissions and WriteKey rights. Subsequent attempts to manipulate the key succeed or fail depending on these permissions.
Before the key is deleted, the code pauses. You can switch to the Registry Editor (Regedit.exe or Regedt32.exe) and verify that the same access rights apply when the key is accessed using the Registry Editor.
This example works best if you use **RunAs** from the command line to run the Registry Editor and the sample code as a local user without administrator rights. For example, if you have defined a local user named TestUser, the command `runas /user:TestUser cmd` opens a command window from which you can run the Registry Editor and then the example code.
[!code-cpp[RegistrySecurity101#1](~/samples/snippets/cpp/VS_Snippets_CLR/RegistrySecurity101/cpp/source.cpp#1)]
[!code-csharp[RegistrySecurity101#1](~/samples/snippets/csharp/VS_Snippets_CLR/RegistrySecurity101/CS/source.cs#1)]
[!code-vb[RegistrySecurity101#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/RegistrySecurity101/VB/source.vb#1)]
]]></format>
</remarks>
<altmember cref="T:System.Security.AccessControl.RegistryAccessRule" />
<altmember cref="T:System.Security.AccessControl.RegistrySecurity" />
<altmember cref="T:System.Security.AccessControl.RegistryAuditRule" />
</Docs>
<Members>
<Member MemberName="ChangePermissions">
<MemberSignature Language="C#" Value="ChangePermissions" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights ChangePermissions = int32(262144)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.ChangePermissions" />
<MemberSignature Language="VB.NET" Value="ChangePermissions" />
<MemberSignature Language="C++ CLI" Value="ChangePermissions" />
<MemberSignature Language="F#" Value="ChangePermissions = 262144" Usage="System.Security.AccessControl.RegistryRights.ChangePermissions" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>262144</MemberValue>
<Docs>
<summary>The right to change the access rules and audit rules associated with a registry key.</summary>
</Docs>
</Member>
<Member MemberName="CreateLink">
<MemberSignature Language="C#" Value="CreateLink" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights CreateLink = int32(32)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.CreateLink" />
<MemberSignature Language="VB.NET" Value="CreateLink" />
<MemberSignature Language="C++ CLI" Value="CreateLink" />
<MemberSignature Language="F#" Value="CreateLink = 32" Usage="System.Security.AccessControl.RegistryRights.CreateLink" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>32</MemberValue>
<Docs>
<summary>Reserved for system use.</summary>
</Docs>
</Member>
<Member MemberName="CreateSubKey">
<MemberSignature Language="C#" Value="CreateSubKey" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights CreateSubKey = int32(4)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.CreateSubKey" />
<MemberSignature Language="VB.NET" Value="CreateSubKey" />
<MemberSignature Language="C++ CLI" Value="CreateSubKey" />
<MemberSignature Language="F#" Value="CreateSubKey = 4" Usage="System.Security.AccessControl.RegistryRights.CreateSubKey" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>4</MemberValue>
<Docs>
<summary>The right to create subkeys of a registry key.</summary>
</Docs>
</Member>
<Member MemberName="Delete">
<MemberSignature Language="C#" Value="Delete" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights Delete = int32(65536)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.Delete" />
<MemberSignature Language="VB.NET" Value="Delete" />
<MemberSignature Language="C++ CLI" Value="Delete" />
<MemberSignature Language="F#" Value="Delete = 65536" Usage="System.Security.AccessControl.RegistryRights.Delete" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>65536</MemberValue>
<Docs>
<summary>The right to delete a registry key.</summary>
</Docs>
</Member>
<Member MemberName="EnumerateSubKeys">
<MemberSignature Language="C#" Value="EnumerateSubKeys" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights EnumerateSubKeys = int32(8)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.EnumerateSubKeys" />
<MemberSignature Language="VB.NET" Value="EnumerateSubKeys" />
<MemberSignature Language="C++ CLI" Value="EnumerateSubKeys" />
<MemberSignature Language="F#" Value="EnumerateSubKeys = 8" Usage="System.Security.AccessControl.RegistryRights.EnumerateSubKeys" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>8</MemberValue>
<Docs>
<summary>The right to list the subkeys of a registry key.</summary>
</Docs>
</Member>
<Member MemberName="ExecuteKey">
<MemberSignature Language="C#" Value="ExecuteKey" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights ExecuteKey = int32(131097)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.ExecuteKey" />
<MemberSignature Language="VB.NET" Value="ExecuteKey" />
<MemberSignature Language="C++ CLI" Value="ExecuteKey" />
<MemberSignature Language="F#" Value="ExecuteKey = 131097" Usage="System.Security.AccessControl.RegistryRights.ExecuteKey" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>131097</MemberValue>
<Docs>
<summary>Same as <see cref="F:System.Security.AccessControl.RegistryRights.ReadKey" />.</summary>
</Docs>
</Member>
<Member MemberName="FullControl">
<MemberSignature Language="C#" Value="FullControl" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights FullControl = int32(983103)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.FullControl" />
<MemberSignature Language="VB.NET" Value="FullControl" />
<MemberSignature Language="C++ CLI" Value="FullControl" />
<MemberSignature Language="F#" Value="FullControl = 983103" Usage="System.Security.AccessControl.RegistryRights.FullControl" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>983103</MemberValue>
<Docs>
<summary>The right to exert full control over a registry key, and to modify its access rules and audit rules.</summary>
</Docs>
</Member>
<Member MemberName="Notify">
<MemberSignature Language="C#" Value="Notify" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights Notify = int32(16)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.Notify" />
<MemberSignature Language="VB.NET" Value="Notify" />
<MemberSignature Language="C++ CLI" Value="Notify" />
<MemberSignature Language="F#" Value="Notify = 16" Usage="System.Security.AccessControl.RegistryRights.Notify" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>16</MemberValue>
<Docs>
<summary>The right to request notification of changes on a registry key.</summary>
</Docs>
</Member>
<Member MemberName="QueryValues">
<MemberSignature Language="C#" Value="QueryValues" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights QueryValues = int32(1)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.QueryValues" />
<MemberSignature Language="VB.NET" Value="QueryValues" />
<MemberSignature Language="C++ CLI" Value="QueryValues" />
<MemberSignature Language="F#" Value="QueryValues = 1" Usage="System.Security.AccessControl.RegistryRights.QueryValues" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>The right to query the name/value pairs in a registry key.</summary>
</Docs>
</Member>
<Member MemberName="ReadKey">
<MemberSignature Language="C#" Value="ReadKey" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights ReadKey = int32(131097)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.ReadKey" />
<MemberSignature Language="VB.NET" Value="ReadKey" />
<MemberSignature Language="C++ CLI" Value="ReadKey" />
<MemberSignature Language="F#" Value="ReadKey = 131097" Usage="System.Security.AccessControl.RegistryRights.ReadKey" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>131097</MemberValue>
<Docs>
<summary>The right to query the name/value pairs in a registry key, to request notification of changes, to enumerate its subkeys, and to read its access rules and audit rules.</summary>
</Docs>
</Member>
<Member MemberName="ReadPermissions">
<MemberSignature Language="C#" Value="ReadPermissions" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights ReadPermissions = int32(131072)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.ReadPermissions" />
<MemberSignature Language="VB.NET" Value="ReadPermissions" />
<MemberSignature Language="C++ CLI" Value="ReadPermissions" />
<MemberSignature Language="F#" Value="ReadPermissions = 131072" Usage="System.Security.AccessControl.RegistryRights.ReadPermissions" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>131072</MemberValue>
<Docs>
<summary>The right to open and copy the access rules and audit rules for a registry key.</summary>
</Docs>
</Member>
<Member MemberName="SetValue">
<MemberSignature Language="C#" Value="SetValue" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights SetValue = int32(2)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.SetValue" />
<MemberSignature Language="VB.NET" Value="SetValue" />
<MemberSignature Language="C++ CLI" Value="SetValue" />
<MemberSignature Language="F#" Value="SetValue = 2" Usage="System.Security.AccessControl.RegistryRights.SetValue" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>The right to create, delete, or set name/value pairs in a registry key.</summary>
</Docs>
</Member>
<Member MemberName="TakeOwnership">
<MemberSignature Language="C#" Value="TakeOwnership" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights TakeOwnership = int32(524288)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.TakeOwnership" />
<MemberSignature Language="VB.NET" Value="TakeOwnership" />
<MemberSignature Language="C++ CLI" Value="TakeOwnership" />
<MemberSignature Language="F#" Value="TakeOwnership = 524288" Usage="System.Security.AccessControl.RegistryRights.TakeOwnership" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>524288</MemberValue>
<Docs>
<summary>The right to change the owner of a registry key.</summary>
</Docs>
</Member>
<Member MemberName="WriteKey">
<MemberSignature Language="C#" Value="WriteKey" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.RegistryRights WriteKey = int32(131078)" />
<MemberSignature Language="DocId" Value="F:System.Security.AccessControl.RegistryRights.WriteKey" />
<MemberSignature Language="VB.NET" Value="WriteKey" />
<MemberSignature Language="C++ CLI" Value="WriteKey" />
<MemberSignature Language="F#" Value="WriteKey = 131078" Usage="System.Security.AccessControl.RegistryRights.WriteKey" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Win32.Registry</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.1.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.AccessControl.RegistryRights</ReturnType>
</ReturnValue>
<MemberValue>131078</MemberValue>
<Docs>
<summary>The right to create, delete, and set the name/value pairs in a registry key, to create or delete subkeys, to request notification of changes, to enumerate its subkeys, and to read its access rules and audit rules.</summary>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.