FileIOPermissionAttribute.AllLocalFiles Property


Gets or sets the permitted access to all local files.

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

public FileIOPermissionAccess AllLocalFiles { get; set; }

Property Value

Type: System.Security.Permissions.FileIOPermissionAccess

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

Local files are files contained on the local computer. Any files that are not accessed through a network drive are local files.

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

.NET Framework
Available since 2.0
Return to top