FileInformationClass.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. namespace SMBLibrary
  2. {
  3. /// <summary>
  4. /// [MS-FSCC] 2.4 - File Information Classes
  5. /// </summary>
  6. public enum FileInformationClass : byte
  7. {
  8. FileDirectoryInformation = 0x01, // Uses: Query
  9. FileFullDirectoryInformation = 0x02, // Uses: Query
  10. FileBothDirectoryInformation = 0x03, // Uses: Query
  11. FileBasicInformation = 0x04, // Uses: Query, Set
  12. FileStandardInformation = 0x05, // Uses: Query
  13. FileInternalInformation = 0x06, // Uses: Query
  14. FileEaInformation = 0x07, // Uses: Query
  15. FileAccessInformation = 0x08, // Uses: Query
  16. FileNameInformation = 0x09, // Uses: LOCAL
  17. FileRenameInformation = 0x0A, // Uses: Set
  18. FileLinkInformation = 0x0B, // Uses: Set
  19. FileNamesInformation = 0x0C, // Uses: Query
  20. FileDispositionInformation = 0x0D, // Uses: Set
  21. FilePositionInformation = 0x0E, // Uses: Query, Set
  22. FileFullEaInformation = 0x0F, // Uses: Query, Set
  23. FileModeInformation = 0x10, // Uses: Query, Set
  24. FileAlignmentInformation = 0x11, // Uses: Query
  25. FileAllInformation = 0x12, // Uses: Query
  26. FileAllocationInformation = 0x13, // Uses: Set
  27. FileEndOfFileInformation = 0x14, // Uses: Set
  28. FileAlternateNameInformation = 0x15, // Uses: Query
  29. FileStreamInformation = 0x16, // Uses: Query
  30. FilePipeInformation = 0x17, // Uses: Query, Set
  31. FilePipeLocalInformation = 0x18, // Uses: Query
  32. FilePipeRemoteInformation = 0x19, // Uses: Query
  33. FileCompressionInformation = 0x1C, // Uses: Query
  34. FileNetworkOpenInformation = 0x22, // Uses: Query
  35. FileAttributeTagInformation = 0x23, // Uses: Query
  36. FileIdBothDirectoryInformation = 0x25, // Uses: Query
  37. FileIdFullDirectoryInformation = 0x26, // Uses: Query
  38. FileValidDataLengthInformation = 0x27, // Uses: Set
  39. FileShortNameInformation = 0x28, // Uses: Set
  40. }
  41. }