SMB Server application: Added SettingsHelper class to handle settings logic

This commit is contained in:
Tal Aloni 2018-10-31 23:02:39 +02:00
parent ff368056c5
commit 6d562c41e9
4 changed files with 154 additions and 94 deletions

View file

@ -0,0 +1,27 @@
/* Copyright (C) 2014-2018 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
*
* You can redistribute this program and/or modify it under the terms of
* the GNU Lesser Public License as published by the Free Software Foundation,
* either version 3 of the License, or (at your option) any later version.
*/
using System;
using System.Collections.Generic;
namespace SMBServer
{
public class ShareSettings
{
public string ShareName;
public string SharePath;
public List<string> ReadAccess;
public List<string> WriteAccess;
public ShareSettings(string shareName, string sharePath, List<string> readAccess, List<string> writeAccess)
{
ShareName = shareName;
SharePath = sharePath;
ReadAccess = readAccess;
WriteAccess = writeAccess;
}
}
}