System.Security.AccessControl.CryptoKeySecurity.AddAccessRule Method

Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this System.Security.AccessControl.CryptoKeySecurity object.

Syntax

public void AddAccessRule (CryptoKeyAccessRule rule)

Parameters

rule
The access rule to add.

Remarks

Adding an access rule might cause existing access rules in the DACL to be merged.

Requirements

Namespace: System.Security.AccessControl
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0