Repository navigation
Expand file tree
/
Copy pathProfileInfo.cs
More file actions
179 lines (160 loc) · 9.46 KB
/
Copy pathProfileInfo.cs
File metadata and controls
179 lines (160 loc) · 9.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
using NETworkManager.Models.PowerShell;
using NETworkManager.Models.PuTTY;
using NETworkManager.Models.RemoteDesktop;
using NETworkManager.Settings;
namespace NETworkManager.Profiles
{
/// <summary>
/// Class represents a profile.
/// </summary>
public class ProfileInfo
{
/// <summary>
/// Name of the profile.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Hostname or IP address of the host.
/// </summary>
public string Host { get; set; }
/// <summary>
/// Name of the group. Profiles are grouped based on the name.
/// </summary>
public string Group { get; set; }
/// <summary>
/// Tags to classify the profiles and to filter by it.
/// </summary>
public string Tags { get; set; }
public bool NetworkInterface_Enabled { get; set; }
public bool NetworkInterface_EnableStaticIPAddress { get; set; }
public string NetworkInterface_IPAddress { get; set; }
public string NetworkInterface_SubnetmaskOrCidr { get; set; }
public string NetworkInterface_Gateway { get; set; }
public bool NetworkInterface_EnableStaticDNS { get; set; }
public string NetworkInterface_PrimaryDNSServer { get; set; }
public string NetworkInterface_SecondaryDNSServer { get; set; }
public bool IPScanner_Enabled { get; set; }
public bool IPScanner_InheritHost { get; set; } = true;
public string IPScanner_HostOrIPRange { get; set; }
public bool PortScanner_Enabled { get; set; }
public bool PortScanner_InheritHost { get; set; } = true;
public string PortScanner_Host { get; set; }
public string PortScanner_Ports { get; set; }
public bool PingMonitor_Enabled { get; set; }
public bool PingMonitor_InheritHost { get; set; } = true;
public string PingMonitor_Host { get; set; }
public bool Traceroute_Enabled { get; set; }
public bool Traceroute_InheritHost { get; set; } = true;
public string Traceroute_Host { get; set; }
public bool DNSLookup_Enabled { get; set; }
public bool DNSLookup_InheritHost { get; set; } = true;
public string DNSLookup_Host { get; set; }
public bool RemoteDesktop_Enabled { get; set; }
public bool RemoteDesktop_InheritHost { get; set; } = true;
public string RemoteDesktop_Host { get; set; }
public bool RemoteDesktop_OverrideDisplay { get; set; }
public bool RemoteDesktop_AdjustScreenAutomatically { get; set; }
public bool RemoteDesktop_UseCurrentViewSize { get; set; }
public bool RemoteDesktop_UseFixedScreenSize { get; set; } = true;
public int RemoteDesktop_ScreenWidth { get; set; } = GlobalStaticConfiguration.RemoteDesktop_ScreenWidth;
public int RemoteDesktop_ScreenHeight { get; set; } = GlobalStaticConfiguration.RemoteDesktop_ScreenHeight;
public bool RemoteDesktop_UseCustomScreenSize { get; set; }
public int RemoteDesktop_CustomScreenWidth { get; set; }
public int RemoteDesktop_CustomScreenHeight { get; set; }
public bool RemoteDesktop_OverrideColorDepth { get; set; }
public int RemoteDesktop_ColorDepth { get; set; } = GlobalStaticConfiguration.RemoteDesktop_ColorDepth;
public bool RemoteDesktop_OverridePort { get; set; }
public int RemoteDesktop_Port { get; set; } = GlobalStaticConfiguration.RemoteDesktop_Port;
public bool RemoteDesktop_OverrideCredSspSupport { get; set; }
public bool RemoteDesktop_EnableCredSspSupport { get; set; }
public bool RemoteDesktop_OverrideAuthenticationLevel { get; set; }
public uint RemoteDesktop_AuthenticationLevel { get; set; } = GlobalStaticConfiguration.RemoteDesktop_AuthenticationLevel;
public bool RemoteDesktop_OverrideAudioRedirectionMode { get; set; }
public AudioRedirectionMode RemoteDesktop_AudioRedirectionMode { get; set; } = GlobalStaticConfiguration.RemoteDesktop_AudioRedirectionMode;
public bool RemoteDesktop_OverrideAudioCaptureRedirectionMode { get; set; }
public AudioCaptureRedirectionMode RemoteDesktop_AudioCaptureRedirectionMode { get; set; } = GlobalStaticConfiguration.RemoteDesktop_AudioCaptureRedirectionMode;
public bool RemoteDesktop_OverrideApplyWindowsKeyCombinations { get; set; }
public KeyboardHookMode RemoteDesktop_KeyboardHookMode { get; set; } = GlobalStaticConfiguration.RemoteDesktop_KeyboardHookMode;
public bool RemoteDesktop_OverrideRedirectClipboard { get; set; }
public bool RemoteDesktop_RedirectClipboard { get; set; } = true;
public bool RemoteDesktop_OverrideRedirectDevices { get; set; }
public bool RemoteDesktop_RedirectDevices { get; set; }
public bool RemoteDesktop_OverrideRedirectDrives { get; set; }
public bool RemoteDesktop_RedirectDrives { get; set; }
public bool RemoteDesktop_OverrideRedirectPorts { get; set; }
public bool RemoteDesktop_RedirectPorts { get; set; }
public bool RemoteDesktop_OverrideRedirectSmartcards { get; set; }
public bool RemoteDesktop_RedirectSmartCards { get; set; }
public bool RemoteDesktop_OverrideRedirectPrinters { get; set; }
public bool RemoteDesktop_RedirectPrinters { get; set; }
public bool RemoteDesktop_OverridePersistentBitmapCaching { get; set; }
public bool RemoteDesktop_PersistentBitmapCaching { get; set; }
public bool RemoteDesktop_OverrideReconnectIfTheConnectionIsDropped { get; set; }
public bool RemoteDesktop_ReconnectIfTheConnectionIsDropped { get; set; }
public bool RemoteDesktop_OverrideNetworkConnectionType { get; set; }
public NetworkConnectionType RemoteDesktop_NetworkConnectionType { get; set; }
public bool RemoteDesktop_OverrideDesktopBackground { get; set; }
public bool RemoteDesktop_DesktopBackground { get; set; }
public bool RemoteDesktop_OverrideFontSmoothing { get; set; }
public bool RemoteDesktop_FontSmoothing { get; set; }
public bool RemoteDesktop_OverrideDesktopComposition { get; set; }
public bool RemoteDesktop_DesktopComposition { get; set; }
public bool RemoteDesktop_OverrideShowWindowContentsWhileDragging { get; set; }
public bool RemoteDesktop_ShowWindowContentsWhileDragging { get; set; }
public bool RemoteDesktop_OverrideMenuAndWindowAnimation { get; set; }
public bool RemoteDesktop_MenuAndWindowAnimation { get; set; }
public bool RemoteDesktop_OverrideVisualStyles { get; set; }
public bool RemoteDesktop_VisualStyles { get; set; }
public bool PowerShell_Enabled { get; set; }
public bool PowerShell_EnableRemoteConsole { get; set; } = true;
public bool PowerShell_InheritHost { get; set; } = true;
public string PowerShell_Host { get; set; }
public bool PowerShell_OverrideAdditionalCommandLine { get; set; }
public string PowerShell_AdditionalCommandLine { get; set; }
public bool PowerShell_OverrideExecutionPolicy { get; set; }
public PowerShell.ExecutionPolicy PowerShell_ExecutionPolicy { get; set; }
public bool PuTTY_Enabled { get; set; }
public ConnectionMode PuTTY_ConnectionMode { get; set; }
public bool PuTTY_InheritHost { get; set; } = true;
public string PuTTY_HostOrSerialLine { get; set; }
public bool PuTTY_OverridePortOrBaud { get; set; }
public int PuTTY_PortOrBaud { get; set; }
public bool PuTTY_OverrideUsername { get; set; }
public string PuTTY_Username { get; set; }
public bool PuTTY_OverridePrivateKeyFile { get; set; }
public string PuTTY_PrivateKeyFile { get; set; }
public bool PuTTY_OverrideProfile { get; set; }
public string PuTTY_Profile { get; set; }
public bool PuTTY_OverrideEnableLog { get; set; }
public bool PuTTY_EnableLog { get; set; }
public bool PuTTY_OverrideLogMode { get; set; }
public LogMode PuTTY_LogMode { get; set; } = GlobalStaticConfiguration.PuTTY_LogMode;
public bool PuTTY_OverrideLogPath { get; set; }
public string PuTTY_LogPath { get; set; } = GlobalStaticConfiguration.PuTTY_LogPath;
public bool PuTTY_OverrideLogFileName { get; set; }
public string PuTTY_LogFileName { get; set; } = GlobalStaticConfiguration.PuTTY_LogFileName;
public bool PuTTY_OverrideAdditionalCommandLine { get; set; }
public string PuTTY_AdditionalCommandLine { get; set; }
public bool TigerVNC_Enabled { get; set; }
public bool TigerVNC_InheritHost { get; set; } = true;
public string TigerVNC_Host { get; set; }
public bool TigerVNC_OverridePort { get; set; }
public int TigerVNC_Port { get; set; }
public bool WebConsole_Enabled { get; set; }
public string WebConsole_Url { get; set; }
public bool WakeOnLAN_Enabled { get; set; }
public string WakeOnLAN_MACAddress { get; set; }
public string WakeOnLAN_Broadcast { get; set; }
public bool WakeOnLAN_OverridePort { get; set; }
public int WakeOnLAN_Port { get; set; }
public bool Whois_Enabled { get; set; }
public bool Whois_InheritHost { get; set; } = true;
public string Whois_Domain { get; set; }
/// <summary>
/// Initializes a new instance of the<see cref="ProfileInfo"/> class.
/// </summary>
public ProfileInfo()
{
}
}
}