StorePermissionAttribute.Flags Property

Gets or sets the store permissions.

Namespace:  System.Security.Permissions
Assembly:  System (in System.dll)

public StorePermissionFlags Flags { get; set; }

Property Value

Type: System.Security.Permissions.StorePermissionFlags
A bitwise combination of the StorePermissionFlags values. The default is NoFlags.

Caution noteCaution

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 AddToStore, CreateStore, DeleteStore, and AllFlags. For specific threats posed by the use of these flags, see individual flag descriptions.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft