mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-06-01 18:18:21 +02:00
SMB Server application: Added SettingsHelper class to handle settings logic
This commit is contained in:
parent
ff368056c5
commit
6d562c41e9
4 changed files with 154 additions and 94 deletions
27
SMBServer/ShareSettings.cs
Normal file
27
SMBServer/ShareSettings.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue