FileIOPermissionAttribute.AllFiles Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the permitted access to all files.

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

public FileIOPermissionAccess AllFiles { get; set; }

Property Value

Type: System.Security.Permissions.FileIOPermissionAccess

A bitwise combination of the FileIOPermissionAccess values that represents the permissions for all files. The default is NoAccess.

This property gets or sets the permitted access to all files on the local computer and network drives.

An individual FileIOPermissionAccess value can be determined by using a bitwise AND operation.

.NET Framework
Available since 2.0
Return to top