RDS Collection settings added
This commit is contained in:
parent
b13ad8cc41
commit
636b3e22ca
28 changed files with 1610 additions and 61 deletions
|
@ -65,5 +65,6 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
|
|||
bool SetApplicationUsers(string collectionName, RemoteApplication remoteApp, string[] users);
|
||||
bool CheckRDSServerAvaliable(string hostname);
|
||||
List<string> GetServersExistingInCollections();
|
||||
void EditRdsCollectionSettings(RdsCollection collection);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,6 +37,7 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
|
|||
public RdsCollection()
|
||||
{
|
||||
Servers = new List<RdsServer>();
|
||||
Settings = new RdsCollectionSettings();
|
||||
}
|
||||
|
||||
public int Id { get; set; }
|
||||
|
@ -45,5 +46,6 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
|
|||
public string Description { get; set; }
|
||||
public string DisplayName { get; set; }
|
||||
public List<RdsServer> Servers { get; set; }
|
||||
public RdsCollectionSettings Settings { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace WebsitePanel.Providers.RemoteDesktopServices
|
||||
{
|
||||
[Serializable]
|
||||
public class RdsCollectionSettings
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int RdsCollectionId { get; set; }
|
||||
public int DisconnectedSessionLimitMin { get; set; }
|
||||
public int ActiveSessionLimitMin { get; set; }
|
||||
public int IdleSessionLimitMin { get; set; }
|
||||
public string BrokenConnectionAction { get; set; }
|
||||
public bool AutomaticReconnectionEnabled { get; set; }
|
||||
public bool TemporaryFoldersDeletedOnExit { get; set; }
|
||||
public bool TemporaryFoldersPerSession { get; set; }
|
||||
public string ClientDeviceRedirectionOptions { get; set; }
|
||||
public bool ClientPrinterRedirected { get; set; }
|
||||
public bool ClientPrinterAsDefault { get; set; }
|
||||
public bool RDEasyPrintDriverEnabled { get; set; }
|
||||
public int MaxRedirectedMonitors { get; set; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace WebsitePanel.Providers.RemoteDesktopServices
|
||||
{
|
||||
public enum BrokenConnectionActionValues
|
||||
{
|
||||
Disconnect,
|
||||
LogOff
|
||||
}
|
||||
|
||||
public enum ClientDeviceRedirectionOptionValues
|
||||
{
|
||||
AudioVideoPlayBack,
|
||||
AudioRecording,
|
||||
SmartCard,
|
||||
PlugAndPlayDevice,
|
||||
Drive,
|
||||
Clipboard
|
||||
}
|
||||
|
||||
public enum SecurityLayerValues
|
||||
{
|
||||
RDP,
|
||||
Negotiate,
|
||||
SSL
|
||||
}
|
||||
|
||||
public enum EncryptionLevel
|
||||
{
|
||||
Low,
|
||||
ClientCompatible,
|
||||
High,
|
||||
FipsCompliant
|
||||
}
|
||||
}
|
|
@ -131,6 +131,8 @@
|
|||
<Compile Include="RemoteDesktopServices\IRemoteDesktopServices.cs" />
|
||||
<Compile Include="RemoteDesktopServices\RdsCollection.cs" />
|
||||
<Compile Include="RemoteDesktopServices\RdsCollectionPaged.cs" />
|
||||
<Compile Include="RemoteDesktopServices\RdsCollectionSettings.cs" />
|
||||
<Compile Include="RemoteDesktopServices\RdsEnums.cs" />
|
||||
<Compile Include="RemoteDesktopServices\RdsPolicyTypes.cs" />
|
||||
<Compile Include="RemoteDesktopServices\RdsServer.cs" />
|
||||
<Compile Include="RemoteDesktopServices\RdsServersPaged.cs" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue