System 2.0.0.0 4.0.0.0 System.Security.Permissions.CodeAccessSecurityAttribute System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Constructor | System.AttributeTargets.Method | System.AttributeTargets.All, AllowMultiple=true, Inherited=false) The scope of the declaration that is allowed depends on the value that is used. The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. The attribute is used only for declarative security. For imperative security, use the class. Allows security actions for to be applied to code using declarative security. This class cannot be inherited. Constructor 2.0.0.0 4.0.0.0 To be added. Initializes a new instance of the class with the specified security action. One of the values. Property 2.0.0.0 4.0.0.0 System.Boolean To be added. For security reasons, this ability should be granted only to highly trusted code. Gets or sets a value indicating whether the code is permitted to add to a store. Method 2.0.0.0 4.0.0.0 System.Security.IPermission This method should be called only by the security system, never by application code. At compile time, attributes convert security declarations to a serialized form in metadata. The metadata is created from the permission object that this method returns. Creates and returns a new . A that corresponds to the attribute. Property 2.0.0.0 4.0.0.0 System.Boolean To be added. New stores are created by calling the method. Gets or sets a value indicating whether the code is permitted to create a store. Property 2.0.0.0 4.0.0.0 System.Boolean To be added. This functionality is not exposed by the class. Gets or sets a value indicating whether the code is permitted to delete a store. Property 2.0.0.0 4.0.0.0 System.Boolean To be added. For privacy reasons, this ability should be granted only to fully trusted code. Gets or sets a value indicating whether the code is permitted to enumerate the certificates in a store. Property 2.0.0.0 4.0.0.0 System.Boolean To be added. This functionality is not exposed by the class. Gets or sets a value indicating whether the code is permitted to enumerate stores. Property 2.0.0.0 4.0.0.0 System.Security.Permissions.StorePermissionFlags To be added. Many of these flags are powerful and permit access to stores that should be granted only to highly trusted code. The most powerful of the flags are , , , and . For specific threats posed by the use of these flags, see individual flag descriptions. Gets or sets the store permissions. Property 2.0.0.0 4.0.0.0 System.Boolean To be added. The ability to open a store does not include the ability to enumerate certificates (which raises privacy concerns) or to add or remove certificates (which raises security concerns). Gets or sets a value indicating whether the code is permitted to open a store. Property 2.0.0.0 4.0.0.0 System.Boolean To be added. This ability should be granted only to highly trusted code because removing a certificate can result in a denial of service. Gets or sets a value indicating whether the code is permitted to remove a certificate from a store.