using System; namespace Vanara.RunTimeLib { /// These constants specify the current attributes of the file or directory specified by the function. [Flags] public enum FileAttributeConstant : int { /// Normal. File can be read or written to without restriction. _A_NORMAL = 0x00, /// Read-only. File cannot be opened for writing, and a file with the same name cannot be created. _A_RDONLY = 0x01, /// /// Hidden file. Not normally seen with the DIR command, unless the /AH option is used. Returns information about normal files as /// well as files with this attribute. /// _A_HIDDEN = 0x02, /// System file. Not normally seen with the DIR command, unless the /AS option is used. _A_SYSTEM = 0x04, /// Subdirectory. _A_SUBDIR = 0x10, /// Archive. Set whenever the file is changed, and cleared by the BACKUP command. _A_ARCH = 0x20, } }