﻿<?xml version="1.0" encoding="utf-8"?><Type Name="CryptoKeySecurity" FullName="System.Security.AccessControl.CryptoKeySecurity"><TypeSignature Language="C#" Value="public sealed class CryptoKeySecurity : System.Security.AccessControl.NativeObjectSecurity" /><TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit CryptoKeySecurity extends System.Security.AccessControl.NativeObjectSecurity" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Security.AccessControl.NativeObjectSecurity</BaseTypeName></Base><Interfaces /><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Provides the ability to control access to a cryptographic key object without direct manipulation of  an Access Control List (ACL).</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public CryptoKeySecurity ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters /><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> class.</para></summary></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public CryptoKeySecurity (System.Security.AccessControl.CommonSecurityDescriptor securityDescriptor);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Security.AccessControl.CommonSecurityDescriptor securityDescriptor) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="securityDescriptor" Type="System.Security.AccessControl.CommonSecurityDescriptor" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> class by using the specified security descriptor.</para></summary><param name="securityDescriptor"><attribution license="cc4" from="Microsoft" modified="false" />The security descriptor from which to create the new <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</param></Docs></Member><Member MemberName="AccessRightType"><MemberSignature Language="C#" Value="public override Type AccessRightType { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Type AccessRightType" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Type</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the <see cref="T:System.Type" /> of the securable object associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</para></summary></Docs></Member><Member MemberName="AccessRuleFactory"><MemberSignature Language="C#" Value="public override sealed System.Security.AccessControl.AccessRule AccessRuleFactory (System.Security.Principal.IdentityReference identityReference, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class System.Security.AccessControl.AccessRule AccessRuleFactory(class System.Security.Principal.IdentityReference identityReference, int32 accessMask, bool isInherited, valuetype System.Security.AccessControl.InheritanceFlags inheritanceFlags, valuetype System.Security.AccessControl.PropagationFlags propagationFlags, valuetype System.Security.AccessControl.AccessControlType type) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Security.AccessControl.AccessRule</ReturnType></ReturnValue><Parameters><Parameter Name="identityReference" Type="System.Security.Principal.IdentityReference" /><Parameter Name="accessMask" Type="System.Int32" /><Parameter Name="isInherited" Type="System.Boolean" /><Parameter Name="inheritanceFlags" Type="System.Security.AccessControl.InheritanceFlags" /><Parameter Name="propagationFlags" Type="System.Security.AccessControl.PropagationFlags" /><Parameter Name="type" Type="System.Security.AccessControl.AccessControlType" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Security.AccessControl.AccessRule" /> class with the specified values.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Security.AccessControl.AccessRule" /> object that this method creates.</para></returns><param name="identityReference"><attribution license="cc4" from="Microsoft" modified="false" />The identity to which the access rule applies.  It must be an object that can be cast as a <see cref="T:System.Security.Principal.SecurityIdentifier" />.</param><param name="accessMask"><attribution license="cc4" from="Microsoft" modified="false" />The access mask of this rule. The access mask is a 32-bit collection of anonymous bits, the meaning of which is defined by the individual integrators.</param><param name="isInherited"><attribution license="cc4" from="Microsoft" modified="false" />true if this rule is inherited from a parent container.</param><param name="inheritanceFlags"><attribution license="cc4" from="Microsoft" modified="false" />Specifies the inheritance properties of the access rule.</param><param name="propagationFlags"><attribution license="cc4" from="Microsoft" modified="false" />Specifies whether inherited access rules are automatically propagated. The propagation flags are ignored if <paramref name="inheritanceFlags" /> is set to <see cref="F:System.Security.AccessControl.InheritanceFlags.None" />.</param><param name="type"><attribution license="cc4" from="Microsoft" modified="false" />Specifies the valid access control type.</param></Docs></Member><Member MemberName="AccessRuleType"><MemberSignature Language="C#" Value="public override Type AccessRuleType { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Type AccessRuleType" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Type</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the <see cref="T:System.Type" /> of the object associated with the access rules of this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object. The <see cref="T:System.Type" /> object must be an object that can be cast as a <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</para></summary></Docs></Member><Member MemberName="AddAccessRule"><MemberSignature Language="C#" Value="public void AddAccessRule (System.Security.AccessControl.CryptoKeyAccessRule rule);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddAccessRule(class System.Security.AccessControl.CryptoKeyAccessRule rule) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="rule" Type="System.Security.AccessControl.CryptoKeyAccessRule" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Adding an access rule might cause existing access rules in the DACL to be merged.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</para></summary><param name="rule"><attribution license="cc4" from="Microsoft" modified="false" />The access rule to add.</param></Docs></Member><Member MemberName="AddAuditRule"><MemberSignature Language="C#" Value="public void AddAuditRule (System.Security.AccessControl.CryptoKeyAuditRule rule);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddAuditRule(class System.Security.AccessControl.CryptoKeyAuditRule rule) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="rule" Type="System.Security.AccessControl.CryptoKeyAuditRule" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Adding an audit rule might cause existing access rules in the SACL to be merged.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds the specified audit rule to the System Access Control List (SACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</para></summary><param name="rule"><attribution license="cc4" from="Microsoft" modified="false" />The audit rule to add.</param></Docs></Member><Member MemberName="AuditRuleFactory"><MemberSignature Language="C#" Value="public override sealed System.Security.AccessControl.AuditRule AuditRuleFactory (System.Security.Principal.IdentityReference identityReference, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class System.Security.AccessControl.AuditRule AuditRuleFactory(class System.Security.Principal.IdentityReference identityReference, int32 accessMask, bool isInherited, valuetype System.Security.AccessControl.InheritanceFlags inheritanceFlags, valuetype System.Security.AccessControl.PropagationFlags propagationFlags, valuetype System.Security.AccessControl.AuditFlags flags) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Security.AccessControl.AuditRule</ReturnType></ReturnValue><Parameters><Parameter Name="identityReference" Type="System.Security.Principal.IdentityReference" /><Parameter Name="accessMask" Type="System.Int32" /><Parameter Name="isInherited" Type="System.Boolean" /><Parameter Name="inheritanceFlags" Type="System.Security.AccessControl.InheritanceFlags" /><Parameter Name="propagationFlags" Type="System.Security.AccessControl.PropagationFlags" /><Parameter Name="flags" Type="System.Security.AccessControl.AuditFlags" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Security.AccessControl.AuditRule" /> class with the specified values.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Security.AccessControl.AuditRule" /> object that this method creates.</para></returns><param name="identityReference"><attribution license="cc4" from="Microsoft" modified="false" />The identity to which the audit rule applies.  It must be an object that can be cast as a <see cref="T:System.Security.Principal.SecurityIdentifier" />.</param><param name="accessMask"><attribution license="cc4" from="Microsoft" modified="false" />The access mask of this rule. The access mask is a 32-bit collection of anonymous bits, the meaning of which is defined by the individual integrators.</param><param name="isInherited"><attribution license="cc4" from="Microsoft" modified="false" />true if this rule is inherited from a parent container.</param><param name="inheritanceFlags"><attribution license="cc4" from="Microsoft" modified="false" />Specifies the inheritance properties of the audit rule.</param><param name="propagationFlags"><attribution license="cc4" from="Microsoft" modified="false" />Specifies whether inherited audit rules are automatically propagated. The propagation flags are ignored if <paramref name="inheritanceFlags" /> is set to <see cref="F:System.Security.AccessControl.InheritanceFlags.None" />.</param><param name="flags"><attribution license="cc4" from="Microsoft" modified="false" />Specifies the conditions for which the rule is audited.</param></Docs></Member><Member MemberName="AuditRuleType"><MemberSignature Language="C#" Value="public override Type AuditRuleType { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Type AuditRuleType" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Type</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the <see cref="T:System.Type" /> object associated with the audit rules of this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object. The <see cref="T:System.Type" /> object must be an object that can be cast as a <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</para></summary></Docs></Member><Member MemberName="RemoveAccessRule"><MemberSignature Language="C#" Value="public bool RemoveAccessRule (System.Security.AccessControl.CryptoKeyAccessRule rule);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool RemoveAccessRule(class System.Security.AccessControl.CryptoKeyAccessRule rule) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="rule" Type="System.Security.AccessControl.CryptoKeyAccessRule" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Access removal is accomplished by using a complex algorithm that might add access control rules in addition to removing them.</para><para>This method fails to remove the access rule and returns false if the inheritance rules associated with the access rule are too complex for the removal algorithm to succeed.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes access rules that contain the same security identifier and access mask as the specified access rule from the Discretionary Access Control List (DACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the access rule was successfully removed; otherwise, false.</para></returns><param name="rule"><attribution license="cc4" from="Microsoft" modified="false" />The access rule to remove.</param></Docs></Member><Member MemberName="RemoveAccessRuleAll"><MemberSignature Language="C#" Value="public void RemoveAccessRuleAll (System.Security.AccessControl.CryptoKeyAccessRule rule);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveAccessRuleAll(class System.Security.AccessControl.CryptoKeyAccessRule rule) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="rule" Type="System.Security.AccessControl.CryptoKeyAccessRule" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes all access rules that have the same security identifier as the specified access rule from the Discretionary Access Control List (DACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</para></summary><param name="rule"><attribution license="cc4" from="Microsoft" modified="false" />The access rule to remove.</param></Docs></Member><Member MemberName="RemoveAccessRuleSpecific"><MemberSignature Language="C#" Value="public void RemoveAccessRuleSpecific (System.Security.AccessControl.CryptoKeyAccessRule rule);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveAccessRuleSpecific(class System.Security.AccessControl.CryptoKeyAccessRule rule) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="rule" Type="System.Security.AccessControl.CryptoKeyAccessRule" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes all access rules that exactly match the specified access rule from the Discretionary Access Control List (DACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</para></summary><param name="rule"><attribution license="cc4" from="Microsoft" modified="false" />The access rule to remove.</param></Docs></Member><Member MemberName="RemoveAuditRule"><MemberSignature Language="C#" Value="public bool RemoveAuditRule (System.Security.AccessControl.CryptoKeyAuditRule rule);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool RemoveAuditRule(class System.Security.AccessControl.CryptoKeyAuditRule rule) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="rule" Type="System.Security.AccessControl.CryptoKeyAuditRule" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Audit removal is accomplished by using a complex algorithm that might add audit control rules in addition to removing them.</para><para>This method fails to remove the audit rule and returns false if the inheritance rules associated with the audit rule are too complex for the removal algorithm to succeed.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes audit rules that contain the same security identifier and access mask as the specified audit rule from the System Access Control List (SACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the audit rule was successfully removed; otherwise, false.</para></returns><param name="rule"><attribution license="cc4" from="Microsoft" modified="false" />The audit rule to remove.</param></Docs></Member><Member MemberName="RemoveAuditRuleAll"><MemberSignature Language="C#" Value="public void RemoveAuditRuleAll (System.Security.AccessControl.CryptoKeyAuditRule rule);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveAuditRuleAll(class System.Security.AccessControl.CryptoKeyAuditRule rule) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="rule" Type="System.Security.AccessControl.CryptoKeyAuditRule" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes all audit rules that have the same security identifier as the specified audit rule from the System Access Control List (SACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</para></summary><param name="rule"><attribution license="cc4" from="Microsoft" modified="false" />The audit rule to remove.</param></Docs></Member><Member MemberName="RemoveAuditRuleSpecific"><MemberSignature Language="C#" Value="public void RemoveAuditRuleSpecific (System.Security.AccessControl.CryptoKeyAuditRule rule);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveAuditRuleSpecific(class System.Security.AccessControl.CryptoKeyAuditRule rule) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="rule" Type="System.Security.AccessControl.CryptoKeyAuditRule" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes all audit rules that exactly match the specified audit rule from the System Access Control List (SACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</para></summary><param name="rule"><attribution license="cc4" from="Microsoft" modified="false" />The audit rule to remove.</param></Docs></Member><Member MemberName="ResetAccessRule"><MemberSignature Language="C#" Value="public void ResetAccessRule (System.Security.AccessControl.CryptoKeyAccessRule rule);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ResetAccessRule(class System.Security.AccessControl.CryptoKeyAccessRule rule) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="rule" Type="System.Security.AccessControl.CryptoKeyAccessRule" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes all access rules in the Discretionary Access Control List (DACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object and then adds the specified access rule.</para></summary><param name="rule"><attribution license="cc4" from="Microsoft" modified="false" />The access rule to reset.</param></Docs></Member><Member MemberName="SetAccessRule"><MemberSignature Language="C#" Value="public void SetAccessRule (System.Security.AccessControl.CryptoKeyAccessRule rule);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetAccessRule(class System.Security.AccessControl.CryptoKeyAccessRule rule) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="rule" Type="System.Security.AccessControl.CryptoKeyAccessRule" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes all access rules that contain the same security identifier and qualifier as the specified access rule in the Discretionary Access Control List (DACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object and then adds the specified access rule.</para></summary><param name="rule"><attribution license="cc4" from="Microsoft" modified="false" />The access rule to set.</param></Docs></Member><Member MemberName="SetAuditRule"><MemberSignature Language="C#" Value="public void SetAuditRule (System.Security.AccessControl.CryptoKeyAuditRule rule);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetAuditRule(class System.Security.AccessControl.CryptoKeyAuditRule rule) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="rule" Type="System.Security.AccessControl.CryptoKeyAuditRule" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes all audit rules that contain the same security identifier and qualifier as the specified audit rule in the System Access Control List (SACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object and then adds the specified audit rule.</para></summary><param name="rule"><attribution license="cc4" from="Microsoft" modified="false" />The audit rule to set.</param></Docs></Member></Members></Type>