System.Security.Permissions.FileIOPermissionAttribute.Read Property

Gets or sets read access for the file or directory specified by the string value.

Syntax

public string Read { get; set; }

Value

A string containing the absolute path of the file or directory for which read access is secured.

Exceptions

TypeReason
ArgumentExceptionThe path information specified for a set operation contains invalid characters or wild card specifiers.

Remarks

This property sets access for a single file or directory. Use additional attributes to specify additional files and directories.

Requirements

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