ShareSettings.cs 892 B

123456789101112131415161718192021222324252627
  1. /* Copyright (C) 2014-2018 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
  2. *
  3. * You can redistribute this program and/or modify it under the terms of
  4. * the GNU Lesser Public License as published by the Free Software Foundation,
  5. * either version 3 of the License, or (at your option) any later version.
  6. */
  7. using System;
  8. using System.Collections.Generic;
  9. namespace SMBServer
  10. {
  11. public class ShareSettings
  12. {
  13. public string ShareName;
  14. public string SharePath;
  15. public List<string> ReadAccess;
  16. public List<string> WriteAccess;
  17. public ShareSettings(string shareName, string sharePath, List<string> readAccess, List<string> writeAccess)
  18. {
  19. ShareName = shareName;
  20. SharePath = sharePath;
  21. ReadAccess = readAccess;
  22. WriteAccess = writeAccess;
  23. }
  24. }
  25. }