SMBFileAttributes.cs 889 B

123456789101112131415161718192021222324
  1. using System;
  2. namespace SMBLibrary.SMB1
  3. {
  4. /// <summary>
  5. /// SMB_FILE_ATTRIBUTES
  6. /// </summary>
  7. [Flags]
  8. public enum SMBFileAttributes : ushort
  9. {
  10. Normal = 0x0000, // SMB_FILE_ATTRIBUTE_NORMAL
  11. ReadOnly = 0x0001, // SMB_FILE_ATTRIBUTE_READONLY
  12. Hidden = 0x0002, // SMB_FILE_ATTRIBUTE_HIDDEN
  13. System = 0x0004, // SMB_FILE_ATTRIBUTE_SYSTEM
  14. Volume = 0x0008, // SMB_FILE_ATTRIBUTE_VOLUME
  15. Directory = 0x0010, // SMB_FILE_ATTRIBUTE_DIRECTORY
  16. Archive = 0x0020, // SMB_FILE_ATTRIBUTE_ARCHIVE
  17. SearchReadOnly = 0x0100, // SMB_SEARCH_ATTRIBUTE_READONLY
  18. SearchHidden = 0x0200, // SMB_SEARCH_ATTRIBUTE_HIDDEN
  19. SearchSystem = 0x0400, // SMB_SEARCH_ATTRIBUTE_SYSTEM
  20. SearchDirectory = 0x1000, // SMB_SEARCH_ATTRIBUTE_DIRECTORY
  21. SearchArchive = 0x2000, // SMB_SEARCH_ATTRIBUTE_ARCHIVE
  22. }
  23. }