mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-30 07:40:13 +01:00
9fa8740cb9
Removed last bits of code relating to "Bypass proxy server for local addresses" option. New proxy settings are sent from XenCenter to health check service and used to configure the proxy using GetProxyFromSettings(). Health check service now correctly saves its proxy settings and updates the static Proxy property for the Session class; done in new ReconfigureConnectionSettings(). Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
168 lines
7.1 KiB
C#
168 lines
7.1 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.42000
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace XenServerHealthCheck.Properties {
|
|
|
|
|
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
|
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
|
|
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
|
|
|
public static Settings Default {
|
|
get {
|
|
return defaultInstance;
|
|
}
|
|
}
|
|
|
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
|
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
|
|
public string UUID {
|
|
get {
|
|
return ((string)(this["UUID"]));
|
|
}
|
|
set {
|
|
this["UUID"] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Configuration.DefaultSettingValueAttribute("40000")]
|
|
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
|
|
public int HttpTimeout {
|
|
get {
|
|
return ((int)(this["HttpTimeout"]));
|
|
}
|
|
set {
|
|
this["HttpTimeout"] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Configuration.DefaultSettingValueAttribute("<?xml version=\"1.0\" encoding=\"utf-16\"?>\n<ArrayOfString xmlns:xsi=\"http://www.w3.o" +
|
|
"rg/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" />")]
|
|
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
|
|
public string[] ServerList {
|
|
get {
|
|
return ((string[])(this["ServerList"]));
|
|
}
|
|
set {
|
|
this["ServerList"] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
|
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
|
|
public int ProxySetting {
|
|
get {
|
|
return ((int)(this["ProxySetting"]));
|
|
}
|
|
set {
|
|
this["ProxySetting"] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
|
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
|
|
public string ProxyAddress {
|
|
get {
|
|
return ((string)(this["ProxyAddress"]));
|
|
}
|
|
set {
|
|
this["ProxyAddress"] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
|
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
|
|
public bool BypassProxyForServers {
|
|
get {
|
|
return ((bool)(this["BypassProxyForServers"]));
|
|
}
|
|
set {
|
|
this["BypassProxyForServers"] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Configuration.DefaultSettingValueAttribute("80")]
|
|
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
|
|
public int ProxyPort {
|
|
get {
|
|
return ((int)(this["ProxyPort"]));
|
|
}
|
|
set {
|
|
this["ProxyPort"] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Configuration.DefaultSettingValueAttribute("20000")]
|
|
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
|
|
public int ConnectionTimeout {
|
|
get {
|
|
return ((int)(this["ConnectionTimeout"]));
|
|
}
|
|
set {
|
|
this["ConnectionTimeout"] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
|
public bool ProvideProxyAuthentication {
|
|
get {
|
|
return ((bool)(this["ProvideProxyAuthentication"]));
|
|
}
|
|
set {
|
|
this["ProvideProxyAuthentication"] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
|
public string ProxyUsername {
|
|
get {
|
|
return ((string)(this["ProxyUsername"]));
|
|
}
|
|
set {
|
|
this["ProxyUsername"] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
|
public string ProxyPassword {
|
|
get {
|
|
return ((string)(this["ProxyPassword"]));
|
|
}
|
|
set {
|
|
this["ProxyPassword"] = value;
|
|
}
|
|
}
|
|
}
|
|
}
|