ShareAccess.cs 314 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. FILE_SHARE_READ = 0x0001,
  11. FILE_SHARE_WRITE = 0x0002,
  12. FILE_SHARE_DELETE = 0x0004,
  13. }
  14. }