System.Security.Permissions.FileIOPermission.AddPathList Method

Adds access for the specified files and directories to the existing state of the permission.

Syntax

public void AddPathList (FileIOPermissionAccess access, string[] pathList)

Parameters

access
A bitwise combination of the System.Security.Permissions.FileIOPermissionAccess values.
pathList
An array containing the absolute paths of the files and directories.

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