Gets or sets the name of a file or directory for which path discovery access is secured.
A string containing the absolute path of the file or directory for which access to the contents of the path is secured.
Type Reason ArgumentException The path information specified for a set operation contains invalid characters or wild card specifiers.
Note:This property sets path discovery access for a single file or directory; use additional System.Security.Permissions.FileIOPermissionAttribute attributes to specify additional files and directories.
Path discovery controls access to the information in the path itself. This protects sensitive information in the path, such as user names, as well as information about the directory structure revealed in the path. This value does not secure access to files or folders represented by the path.
Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0