FileAttributes

Description

The FileAttributes enumeration contains attributes of files and directories.

It is used by the following properties and methods:

Available Values

Value Brief description
1 Archive. Archive status of a file. Applications use this attribute to mark files for backup or delete.
2 Compressed. Compressed file.
8 Directory. File is a directory.
16 Encrypted. Encrypted file or directory. For a file it means that all data in a file is encrypted. For a directory it means that newly created files and directories are encrypted by default.
32 Hidden. Hidden file. Hidden files are not included into regular directory list.
64 Normal. Regular file. Other attributes are not set for the file.
128 ReadOnly. File is read-only.
256 System. File is a system one. This file is a part of operating system or is used only by operating system.

See also:

IO Assembly Enumerations