ShareAccess.cs 344 B

123456789101112131415
  1. using System;
  2. namespace SMBLibrary
  3. {
  4. /// <summary>
  5. /// No bits set = Prevents the file from being shared
  6. /// </summary>
  7. [Flags]
  8. public enum ShareAccess : uint
  9. {
  10. Read = 0x0001, // FILE_SHARE_READ
  11. Write = 0x0002, // FILE_SHARE_WRITE
  12. Delete = 0x0004, // FILE_SHARE_DELETE
  13. }
  14. }