System.Security.Permissions.FileIOPermission.AddPathList Method

Adds access for the specified file or directory to the existing state of the permission.

Syntax

public void AddPathList (FileIOPermissionAccess access, string path)

Parameters

access
A bitwise combination of the System.Security.Permissions.FileIOPermissionAccess values.
path
The absolute path of a file or directory.

Remarks

Use this method to modify file and directory access by adding to the state of the current permission.

Requirements

Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0