System.Security.Permissions.FileIOPermissionAccess Enum

public enum FileIOPermissionAccess

Base Types

Object
  ValueType
    Enum
      FileIOPermissionAccess

Assembly

mscorlib

Library

BCL

Summary

Represents access to files and directories.

Description

[Note: This enumeration is used by the FileIOPermission class. ]

Attributes

FlagsAttribute

See Also

System.Security.Permissions Namespace

Members

FileIOPermissionAccess Fields

FileIOPermissionAccess.AllAccess Field
FileIOPermissionAccess.Append Field
FileIOPermissionAccess.NoAccess Field
FileIOPermissionAccess.PathDiscovery Field
FileIOPermissionAccess.Read Field
FileIOPermissionAccess.Write Field
FileIOPermissionAccess.value__ Field


FileIOPermissionAccess.AllAccess Field

AllAccess = Read | Write | Append | PathDiscovery;

Summary

Specifies System.Security.Permissions.FileIOPermissionAccess.Append, System.Security.Permissions.FileIOPermissionAccess.Read , System.Security.Permissions.FileIOPermissionAccess.Write, and System.Security.Permissions.FileIOPermissionAccess.PathDiscovery access to a file or directory.

See Also

System.Security.Permissions.FileIOPermissionAccess Enum, System.Security.Permissions Namespace

FileIOPermissionAccess.Append Field

Append = 0x4;

Summary

Specifies append access to a file or directory. Append access includes the ability to create a new file or directory.

See Also

System.Security.Permissions.FileIOPermissionAccess Enum, System.Security.Permissions Namespace

FileIOPermissionAccess.NoAccess Field

NoAccess = 0x0;

Summary

Specifies no access to a file or directory.

See Also

System.Security.Permissions.FileIOPermissionAccess Enum, System.Security.Permissions Namespace

FileIOPermissionAccess.PathDiscovery Field

PathDiscovery = 0x8;

Summary

Specifies access to the path information for a file or directory. System.Security.Permissions.FileIOPermissionAccess.PathDiscovery does not include access to the contents of a file or directory.

[Note: This permission is used to protect sensitive information in the path, such as user names, as well as information about the directory structure revealed in the path. ]

See Also

System.Security.Permissions.FileIOPermissionAccess Enum, System.Security.Permissions Namespace

FileIOPermissionAccess.Read Field

Read = 0x1;

Summary

Specifies read access to a file or directory.

See Also

System.Security.Permissions.FileIOPermissionAccess Enum, System.Security.Permissions Namespace

FileIOPermissionAccess.Write Field

Write = 0x2;

Summary

Specifies write access to a file or directory. Write access includes deleting and overwriting files or directories.

See Also

System.Security.Permissions.FileIOPermissionAccess Enum, System.Security.Permissions Namespace

FileIOPermissionAccess.value__ Field

value__;

See Also

System.Security.Permissions.FileIOPermissionAccess Enum, System.Security.Permissions Namespace