CP-38529: Add SSH client settings

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
This commit is contained in:
Danilo Del Busso 2021-11-29 15:14:19 +00:00 committed by Danilo Del Busso
parent 41be442413
commit 971ae0d064
3 changed files with 53 additions and 2 deletions

View File

@ -12,7 +12,7 @@ namespace XenAdmin.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@ -852,5 +852,41 @@ namespace XenAdmin.Properties {
this["RemindChangePassword"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("None")]
public global::XenAdmin.SshConsole CustomSshConsole {
get {
return ((global::XenAdmin.SshConsole)(this["CustomSshConsole"]));
}
set {
this["CustomSshConsole"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string PuttyLocation {
get {
return ((string)(this["PuttyLocation"]));
}
set {
this["PuttyLocation"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string OpenSSHLocation {
get {
return ((string)(this["OpenSSHLocation"]));
}
set {
this["OpenSSHLocation"] = value;
}
}
}
}

View File

@ -197,5 +197,14 @@
<Setting Name="RemindChangePassword" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="CustomSshConsole" Type="XenAdmin.Core.SSHClient" Scope="User">
<Value Profile="(Default)">None</Value>
</Setting>
<Setting Name="PuttyLocation" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="OpenSSHLocation" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
</Settings>
</SettingsFile>
</SettingsFile>

View File

@ -195,6 +195,12 @@
<setting name="RemindChangePassword" serializeAs="String">
<value>True</value>
</setting>
<setting name="PuttyLocation" serializeAs="String">
<value />
</setting>
<setting name="OpenSSHLocation" serializeAs="String">
<value />
</setting>
</XenAdmin.Properties.Settings>
</userSettings>