CarotDav_decompile/Rei.Fs.Webdav/ConnectionSettingForm.cs

3494 lines
126 KiB
C#

// Decompiled with JetBrains decompiler
// Type: Rei.Fs.Webdav.ConnectionSettingForm
// Assembly: Rei.Fs.Webdav, Version=1.13.2.18288, Culture=neutral, PublicKeyToken=null
// MVID: D30DD1E3-8520-48B5-AAE5-C87970350A82
// Assembly location: F:\Eigene Dateien\Dropbox\portable Collection\Progs\CarotDAV\Rei.Fs.Webdav.dll
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Net;
using System.Runtime.CompilerServices;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Windows.Forms;
namespace Rei.Fs.Webdav
{
[DesignerGenerated]
public class ConnectionSettingForm : Form
{
private IContainer components;
[AccessedThroughProperty("SettingNameTextBox")]
private TextBox _SettingNameTextBox;
[AccessedThroughProperty("URITextBox")]
private TextBox _URITextBox;
[AccessedThroughProperty("OKButton")]
private Button _OKButton;
[AccessedThroughProperty("m_CancelButton")]
private Button _m_CancelButton;
[AccessedThroughProperty("Label1")]
private Label _Label1;
[AccessedThroughProperty("Label2")]
private Label _Label2;
[AccessedThroughProperty("UserNameTextBox")]
private TextBox _UserNameTextBox;
[AccessedThroughProperty("PasswordTextBox")]
private TextBox _PasswordTextBox;
[AccessedThroughProperty("Label4")]
private Label _Label4;
[AccessedThroughProperty("Label5")]
private Label _Label5;
[AccessedThroughProperty("DontSaveCheckBox")]
private CheckBox _DontSaveCheckBox;
[AccessedThroughProperty("TestButton")]
private Button _TestButton;
[AccessedThroughProperty("TabControl1")]
private TabControl _TabControl1;
[AccessedThroughProperty("GeneralTabPage")]
private TabPage _GeneralTabPage;
[AccessedThroughProperty("AdvancedTabPage")]
private TabPage _AdvancedTabPage;
[AccessedThroughProperty("CheckBox1")]
private CheckBox _CheckBox1;
[AccessedThroughProperty("CheckBox2")]
private CheckBox _CheckBox2;
[AccessedThroughProperty("NotReqGzipCheckBox")]
private CheckBox _NotReqGzipCheckBox;
[AccessedThroughProperty("SendTranslateFCheckBox")]
private CheckBox _SendTranslateFCheckBox;
[AccessedThroughProperty("EmptyPUTCheckBox")]
private CheckBox _EmptyPUTCheckBox;
[AccessedThroughProperty("AuthTabPage")]
private TabPage _AuthTabPage;
[AccessedThroughProperty("PreAuthBasicCheckBox")]
private CheckBox _PreAuthBasicCheckBox;
[AccessedThroughProperty("EncodingTab")]
private TabPage _EncodingTab;
[AccessedThroughProperty("Label6")]
private Label _Label6;
[AccessedThroughProperty("ResponseEncodingComboBox")]
private ComboBox _ResponseEncodingComboBox;
[AccessedThroughProperty("Label3")]
private Label _Label3;
[AccessedThroughProperty("RequestEncodingComboBox")]
private ComboBox _RequestEncodingComboBox;
[AccessedThroughProperty("PreAuthWSSECheckBox")]
private CheckBox _PreAuthWSSECheckBox;
[AccessedThroughProperty("Label7")]
private Label _Label7;
[AccessedThroughProperty("CredentialEncodingComboBox")]
private ComboBox _CredentialEncodingComboBox;
[AccessedThroughProperty("ProxyTabPage")]
private TabPage _ProxyTabPage;
[AccessedThroughProperty("NotReqDeflateCheckBox")]
private CheckBox _NotReqDeflateCheckBox;
[AccessedThroughProperty("UseDefaultCredentialCheckBox")]
private CheckBox _UseDefaultCredentialCheckBox;
[AccessedThroughProperty("NotExpect100CheckBox")]
private CheckBox _NotExpect100CheckBox;
[AccessedThroughProperty("TimeoutTabPage")]
private TabPage _TimeoutTabPage;
[AccessedThroughProperty("ConnectionTimeoutComboBox")]
private ComboBox _ConnectionTimeoutComboBox;
[AccessedThroughProperty("StreamTimeoutComboBox")]
private ComboBox _StreamTimeoutComboBox;
[AccessedThroughProperty("Label11")]
private Label _Label11;
[AccessedThroughProperty("Label10")]
private Label _Label10;
[AccessedThroughProperty("NoProxyRadio")]
private RadioButton _NoProxyRadio;
[AccessedThroughProperty("SpecifyProxyRadio")]
private RadioButton _SpecifyProxyRadio;
[AccessedThroughProperty("DefaultProxyRadio")]
private RadioButton _DefaultProxyRadio;
[AccessedThroughProperty("ProxyBypassLocalCheckBox")]
private CheckBox _ProxyBypassLocalCheckBox;
[AccessedThroughProperty("ProxyURITextBox")]
private TextBox _ProxyURITextBox;
[AccessedThroughProperty("Label15")]
private Label _Label15;
[AccessedThroughProperty("Label14")]
private Label _Label14;
[AccessedThroughProperty("Label13")]
private Label _Label13;
[AccessedThroughProperty("Label12")]
private Label _Label12;
[AccessedThroughProperty("ProxyPasswordTextBox")]
private TextBox _ProxyPasswordTextBox;
[AccessedThroughProperty("ProxyUsernameTextBox")]
private TextBox _ProxyUsernameTextBox;
[AccessedThroughProperty("ProxyBypassListTextBox")]
private TextBox _ProxyBypassListTextBox;
[AccessedThroughProperty("ProxyUseDefaultCredential")]
private CheckBox _ProxyUseDefaultCredential;
[AccessedThroughProperty("DontUpdatePropertyCheckBox")]
private CheckBox _DontUpdatePropertyCheckBox;
[AccessedThroughProperty("FullUriDestCheckBox")]
private CheckBox _FullUriDestCheckBox;
[AccessedThroughProperty("Label16")]
private Label _Label16;
[AccessedThroughProperty("UploadFilenameNormalizationComboBox")]
private ComboBox _UploadFilenameNormalizationComboBox;
[AccessedThroughProperty("DownloadFilenameNormalizationComboBox")]
private ComboBox _DownloadFilenameNormalizationComboBox;
[AccessedThroughProperty("Label17")]
private Label _Label17;
[AccessedThroughProperty("CheckBoxAuthWSSE")]
private CheckBox _CheckBoxAuthWSSE;
[AccessedThroughProperty("CheckBoxAuthNegotiate")]
private CheckBox _CheckBoxAuthNegotiate;
[AccessedThroughProperty("CheckBoxAuthKerberos")]
private CheckBox _CheckBoxAuthKerberos;
[AccessedThroughProperty("CheckBoxAuthNTLM")]
private CheckBox _CheckBoxAuthNTLM;
[AccessedThroughProperty("CheckBoxAuthDigest")]
private CheckBox _CheckBoxAuthDigest;
[AccessedThroughProperty("CheckBoxAuthBasic")]
private CheckBox _CheckBoxAuthBasic;
[AccessedThroughProperty("GroupBoxAuthMethods")]
private GroupBox _GroupBoxAuthMethods;
[AccessedThroughProperty("Label8")]
private Label _Label8;
[AccessedThroughProperty("UploadCompressionComboBox")]
private ComboBox _UploadCompressionComboBox;
[AccessedThroughProperty("NotVeryfyRange")]
private CheckBox _NotVeryfyRange;
[AccessedThroughProperty("RedirectionCollectionOnly")]
private CheckBox _RedirectionCollectionOnly;
[AccessedThroughProperty("TabPage1")]
private TabPage _TabPage1;
[AccessedThroughProperty("Label9")]
private Label _Label9;
[AccessedThroughProperty("Label18")]
private Label _Label18;
[AccessedThroughProperty("SplitSizeComboBox")]
private ComboBox _SplitSizeComboBox;
[AccessedThroughProperty("AutoSplitCheckBox")]
private CheckBox _AutoSplitCheckBox;
[AccessedThroughProperty("Label19")]
private Label _Label19;
[AccessedThroughProperty("EncryptKeyTextBox")]
private TextBox _EncryptKeyTextBox;
[AccessedThroughProperty("EncryptionCheck")]
private CheckBox _EncryptionCheck;
[AccessedThroughProperty("CheckBoxAuthPassport")]
private CheckBox _CheckBoxAuthPassport;
[AccessedThroughProperty("Label20")]
private Label _Label20;
[AccessedThroughProperty("ComboBoxEscapeString")]
private ComboBox _ComboBoxEscapeString;
[AccessedThroughProperty("GroupBoxTLS")]
private GroupBox _GroupBoxTLS;
[AccessedThroughProperty("CheckBoxTLS12")]
private CheckBox _CheckBoxTLS12;
[AccessedThroughProperty("CheckBoxTLS11")]
private CheckBox _CheckBoxTLS11;
[AccessedThroughProperty("CheckBoxTLS10")]
private CheckBox _CheckBoxTLS10;
[AccessedThroughProperty("CheckBoxSSL30")]
private CheckBox _CheckBoxSSL30;
[AccessedThroughProperty("HideUnencDirCheckBox")]
private CheckBox _HideUnencDirCheckBox;
[AccessedThroughProperty("HideUnencFileCheckBox")]
private CheckBox _HideUnencFileCheckBox;
[AccessedThroughProperty("SelectClientCertButton")]
private Button _SelectClientCertButton;
[AccessedThroughProperty("ClientCertificateListBox")]
private ListBox _ClientCertificateListBox;
[AccessedThroughProperty("GroupBox1")]
private GroupBox _GroupBox1;
[AccessedThroughProperty("RequestWithoutLastSlash")]
private CheckBox _RequestWithoutLastSlash;
[AccessedThroughProperty("DisableUploadResumeCheckBox")]
private CheckBox _DisableUploadResumeCheckBox;
private List<string> certlist;
public ConnectionSettingForm()
{
this.Load += new EventHandler(this.ConnectionSettingForm_Load);
this.certlist = new List<string>();
this.InitializeComponent();
}
[DebuggerNonUserCode]
protected override void Dispose(bool disposing)
{
try
{
if (!disposing || this.components == null)
return;
this.components.Dispose();
}
finally
{
base.Dispose(disposing);
}
}
[DebuggerStepThrough]
private void InitializeComponent()
{
this.SettingNameTextBox = new TextBox();
this.URITextBox = new TextBox();
this.OKButton = new Button();
this.m_CancelButton = new Button();
this.Label1 = new Label();
this.Label2 = new Label();
this.UserNameTextBox = new TextBox();
this.PasswordTextBox = new TextBox();
this.Label4 = new Label();
this.Label5 = new Label();
this.DontSaveCheckBox = new CheckBox();
this.TestButton = new Button();
this.TabControl1 = new TabControl();
this.GeneralTabPage = new TabPage();
this.UseDefaultCredentialCheckBox = new CheckBox();
this.AuthTabPage = new TabPage();
this.GroupBox1 = new GroupBox();
this.ClientCertificateListBox = new ListBox();
this.SelectClientCertButton = new Button();
this.GroupBoxTLS = new GroupBox();
this.CheckBoxTLS12 = new CheckBox();
this.CheckBoxTLS11 = new CheckBox();
this.CheckBoxTLS10 = new CheckBox();
this.CheckBoxSSL30 = new CheckBox();
this.GroupBoxAuthMethods = new GroupBox();
this.CheckBoxAuthPassport = new CheckBox();
this.CheckBoxAuthWSSE = new CheckBox();
this.CheckBoxAuthNegotiate = new CheckBox();
this.CheckBoxAuthKerberos = new CheckBox();
this.CheckBoxAuthNTLM = new CheckBox();
this.CheckBoxAuthDigest = new CheckBox();
this.CheckBoxAuthBasic = new CheckBox();
this.PreAuthWSSECheckBox = new CheckBox();
this.PreAuthBasicCheckBox = new CheckBox();
this.EncodingTab = new TabPage();
this.Label17 = new Label();
this.Label16 = new Label();
this.UploadFilenameNormalizationComboBox = new ComboBox();
this.DownloadFilenameNormalizationComboBox = new ComboBox();
this.Label7 = new Label();
this.CredentialEncodingComboBox = new ComboBox();
this.Label6 = new Label();
this.ResponseEncodingComboBox = new ComboBox();
this.Label3 = new Label();
this.RequestEncodingComboBox = new ComboBox();
this.AdvancedTabPage = new TabPage();
this.DisableUploadResumeCheckBox = new CheckBox();
this.RequestWithoutLastSlash = new CheckBox();
this.RedirectionCollectionOnly = new CheckBox();
this.NotVeryfyRange = new CheckBox();
this.Label8 = new Label();
this.UploadCompressionComboBox = new ComboBox();
this.FullUriDestCheckBox = new CheckBox();
this.DontUpdatePropertyCheckBox = new CheckBox();
this.NotExpect100CheckBox = new CheckBox();
this.NotReqDeflateCheckBox = new CheckBox();
this.EmptyPUTCheckBox = new CheckBox();
this.SendTranslateFCheckBox = new CheckBox();
this.NotReqGzipCheckBox = new CheckBox();
this.CheckBox2 = new CheckBox();
this.CheckBox1 = new CheckBox();
this.ProxyTabPage = new TabPage();
this.ProxyUseDefaultCredential = new CheckBox();
this.Label15 = new Label();
this.Label14 = new Label();
this.Label13 = new Label();
this.Label12 = new Label();
this.ProxyPasswordTextBox = new TextBox();
this.ProxyUsernameTextBox = new TextBox();
this.ProxyBypassListTextBox = new TextBox();
this.ProxyBypassLocalCheckBox = new CheckBox();
this.ProxyURITextBox = new TextBox();
this.NoProxyRadio = new RadioButton();
this.SpecifyProxyRadio = new RadioButton();
this.DefaultProxyRadio = new RadioButton();
this.TimeoutTabPage = new TabPage();
this.Label11 = new Label();
this.Label10 = new Label();
this.StreamTimeoutComboBox = new ComboBox();
this.ConnectionTimeoutComboBox = new ComboBox();
this.TabPage1 = new TabPage();
this.HideUnencDirCheckBox = new CheckBox();
this.HideUnencFileCheckBox = new CheckBox();
this.ComboBoxEscapeString = new ComboBox();
this.Label19 = new Label();
this.EncryptKeyTextBox = new TextBox();
this.EncryptionCheck = new CheckBox();
this.Label9 = new Label();
this.Label20 = new Label();
this.Label18 = new Label();
this.SplitSizeComboBox = new ComboBox();
this.AutoSplitCheckBox = new CheckBox();
this.TabControl1.SuspendLayout();
this.GeneralTabPage.SuspendLayout();
this.AuthTabPage.SuspendLayout();
this.GroupBox1.SuspendLayout();
this.GroupBoxTLS.SuspendLayout();
this.GroupBoxAuthMethods.SuspendLayout();
this.EncodingTab.SuspendLayout();
this.AdvancedTabPage.SuspendLayout();
this.ProxyTabPage.SuspendLayout();
this.TimeoutTabPage.SuspendLayout();
this.TabPage1.SuspendLayout();
this.SuspendLayout();
this.SettingNameTextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
TextBox settingNameTextBox1 = this.SettingNameTextBox;
Point point1 = new Point(16, 24);
Point point2 = point1;
settingNameTextBox1.Location = point2;
this.SettingNameTextBox.Name = "SettingNameTextBox";
TextBox settingNameTextBox2 = this.SettingNameTextBox;
Size size1 = new Size(321, 19);
Size size2 = size1;
settingNameTextBox2.Size = size2;
this.SettingNameTextBox.TabIndex = 1;
this.URITextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
TextBox uriTextBox1 = this.URITextBox;
point1 = new Point(16, 64);
Point point3 = point1;
uriTextBox1.Location = point3;
this.URITextBox.Name = "URITextBox";
TextBox uriTextBox2 = this.URITextBox;
size1 = new Size(321, 19);
Size size3 = size1;
uriTextBox2.Size = size3;
this.URITextBox.TabIndex = 3;
this.OKButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
Button okButton1 = this.OKButton;
point1 = new Point(216, 361);
Point point4 = point1;
okButton1.Location = point4;
this.OKButton.Name = "OKButton";
Button okButton2 = this.OKButton;
size1 = new Size(72, 24);
Size size4 = size1;
okButton2.Size = size4;
this.OKButton.TabIndex = 2;
this.OKButton.Text = "OK";
this.OKButton.UseVisualStyleBackColor = true;
this.m_CancelButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
this.m_CancelButton.DialogResult = DialogResult.Cancel;
Button mCancelButton1 = this.m_CancelButton;
point1 = new Point(296, 361);
Point point5 = point1;
mCancelButton1.Location = point5;
this.m_CancelButton.Name = "m_CancelButton";
Button mCancelButton2 = this.m_CancelButton;
size1 = new Size(72, 24);
Size size5 = size1;
mCancelButton2.Size = size5;
this.m_CancelButton.TabIndex = 3;
this.m_CancelButton.Text = "Cancel";
this.m_CancelButton.UseVisualStyleBackColor = true;
this.Label1.AutoSize = true;
Label label1_1 = this.Label1;
point1 = new Point(8, 8);
Point point6 = point1;
label1_1.Location = point6;
this.Label1.Name = "Label1";
Label label1_2 = this.Label1;
size1 = new Size(74, 12);
Size size6 = size1;
label1_2.Size = size6;
this.Label1.TabIndex = 0;
this.Label1.Text = "Setting Name";
this.Label2.AutoSize = true;
Label label2_1 = this.Label2;
point1 = new Point(8, 48);
Point point7 = point1;
label2_1.Location = point7;
this.Label2.Name = "Label2";
Label label2_2 = this.Label2;
size1 = new Size(224, 12);
Size size7 = size1;
label2_2.Size = size7;
this.Label2.TabIndex = 2;
this.Label2.Text = "URI (http|https)://hostname[:port]/[path/]";
this.UserNameTextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
TextBox userNameTextBox1 = this.UserNameTextBox;
point1 = new Point(16, 160);
Point point8 = point1;
userNameTextBox1.Location = point8;
this.UserNameTextBox.Name = "UserNameTextBox";
TextBox userNameTextBox2 = this.UserNameTextBox;
size1 = new Size(321, 19);
Size size8 = size1;
userNameTextBox2.Size = size8;
this.UserNameTextBox.TabIndex = 7;
this.PasswordTextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
TextBox passwordTextBox1 = this.PasswordTextBox;
point1 = new Point(16, 200);
Point point9 = point1;
passwordTextBox1.Location = point9;
this.PasswordTextBox.Name = "PasswordTextBox";
TextBox passwordTextBox2 = this.PasswordTextBox;
size1 = new Size(321, 19);
Size size9 = size1;
passwordTextBox2.Size = size9;
this.PasswordTextBox.TabIndex = 9;
this.PasswordTextBox.UseSystemPasswordChar = true;
this.Label4.AutoSize = true;
Label label4_1 = this.Label4;
point1 = new Point(8, 144);
Point point10 = point1;
label4_1.Location = point10;
this.Label4.Name = "Label4";
Label label4_2 = this.Label4;
size1 = new Size(163, 12);
Size size10 = size1;
label4_2.Size = size10;
this.Label4.TabIndex = 6;
this.Label4.Text = "Username [domain\\]username";
this.Label5.AutoSize = true;
Label label5_1 = this.Label5;
point1 = new Point(8, 184);
Point point11 = point1;
label5_1.Location = point11;
this.Label5.Name = "Label5";
Label label5_2 = this.Label5;
size1 = new Size(54, 12);
Size size11 = size1;
label5_2.Size = size11;
this.Label5.TabIndex = 8;
this.Label5.Text = "Password";
this.DontSaveCheckBox.AutoSize = true;
CheckBox dontSaveCheckBox1 = this.DontSaveCheckBox;
point1 = new Point(8, 120);
Point point12 = point1;
dontSaveCheckBox1.Location = point12;
this.DontSaveCheckBox.Name = "DontSaveCheckBox";
CheckBox dontSaveCheckBox2 = this.DontSaveCheckBox;
size1 = new Size(208, 16);
Size size12 = size1;
dontSaveCheckBox2.Size = size12;
this.DontSaveCheckBox.TabIndex = 5;
this.DontSaveCheckBox.Text = "Don't save Username and Password";
this.DontSaveCheckBox.UseVisualStyleBackColor = true;
this.TestButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
Button testButton1 = this.TestButton;
point1 = new Point(136, 361);
Point point13 = point1;
testButton1.Location = point13;
this.TestButton.Name = "TestButton";
Button testButton2 = this.TestButton;
size1 = new Size(72, 24);
Size size13 = size1;
testButton2.Size = size13;
this.TestButton.TabIndex = 1;
this.TestButton.Text = "Test";
this.TestButton.UseVisualStyleBackColor = true;
this.TabControl1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
this.TabControl1.Controls.Add((Control) this.GeneralTabPage);
this.TabControl1.Controls.Add((Control) this.AuthTabPage);
this.TabControl1.Controls.Add((Control) this.EncodingTab);
this.TabControl1.Controls.Add((Control) this.AdvancedTabPage);
this.TabControl1.Controls.Add((Control) this.ProxyTabPage);
this.TabControl1.Controls.Add((Control) this.TimeoutTabPage);
this.TabControl1.Controls.Add((Control) this.TabPage1);
TabControl tabControl1_1 = this.TabControl1;
point1 = new Point(8, 8);
Point point14 = point1;
tabControl1_1.Location = point14;
this.TabControl1.Name = "TabControl1";
this.TabControl1.SelectedIndex = 0;
TabControl tabControl1_2 = this.TabControl1;
size1 = new Size(362, 347);
Size size14 = size1;
tabControl1_2.Size = size14;
this.TabControl1.TabIndex = 0;
this.GeneralTabPage.Controls.Add((Control) this.UseDefaultCredentialCheckBox);
this.GeneralTabPage.Controls.Add((Control) this.URITextBox);
this.GeneralTabPage.Controls.Add((Control) this.SettingNameTextBox);
this.GeneralTabPage.Controls.Add((Control) this.DontSaveCheckBox);
this.GeneralTabPage.Controls.Add((Control) this.Label1);
this.GeneralTabPage.Controls.Add((Control) this.Label5);
this.GeneralTabPage.Controls.Add((Control) this.Label2);
this.GeneralTabPage.Controls.Add((Control) this.Label4);
this.GeneralTabPage.Controls.Add((Control) this.PasswordTextBox);
this.GeneralTabPage.Controls.Add((Control) this.UserNameTextBox);
TabPage generalTabPage1 = this.GeneralTabPage;
point1 = new Point(4, 22);
Point point15 = point1;
generalTabPage1.Location = point15;
this.GeneralTabPage.Name = "GeneralTabPage";
TabPage generalTabPage2 = this.GeneralTabPage;
Padding padding1 = new Padding(3);
Padding padding2 = padding1;
generalTabPage2.Padding = padding2;
TabPage generalTabPage3 = this.GeneralTabPage;
size1 = new Size(354, 321);
Size size15 = size1;
generalTabPage3.Size = size15;
this.GeneralTabPage.TabIndex = 0;
this.GeneralTabPage.Text = "General";
this.GeneralTabPage.UseVisualStyleBackColor = true;
this.UseDefaultCredentialCheckBox.AutoSize = true;
CheckBox credentialCheckBox1 = this.UseDefaultCredentialCheckBox;
point1 = new Point(8, 96);
Point point16 = point1;
credentialCheckBox1.Location = point16;
this.UseDefaultCredentialCheckBox.Name = "UseDefaultCredentialCheckBox";
CheckBox credentialCheckBox2 = this.UseDefaultCredentialCheckBox;
size1 = new Size(201, 16);
Size size16 = size1;
credentialCheckBox2.Size = size16;
this.UseDefaultCredentialCheckBox.TabIndex = 4;
this.UseDefaultCredentialCheckBox.Text = "Integrated Windows Authentication";
this.UseDefaultCredentialCheckBox.UseVisualStyleBackColor = true;
this.AuthTabPage.Controls.Add((Control) this.GroupBox1);
this.AuthTabPage.Controls.Add((Control) this.GroupBoxTLS);
this.AuthTabPage.Controls.Add((Control) this.GroupBoxAuthMethods);
this.AuthTabPage.Controls.Add((Control) this.PreAuthWSSECheckBox);
this.AuthTabPage.Controls.Add((Control) this.PreAuthBasicCheckBox);
TabPage authTabPage1 = this.AuthTabPage;
point1 = new Point(4, 22);
Point point17 = point1;
authTabPage1.Location = point17;
this.AuthTabPage.Name = "AuthTabPage";
TabPage authTabPage2 = this.AuthTabPage;
padding1 = new Padding(3);
Padding padding3 = padding1;
authTabPage2.Padding = padding3;
TabPage authTabPage3 = this.AuthTabPage;
size1 = new Size(354, 321);
Size size17 = size1;
authTabPage3.Size = size17;
this.AuthTabPage.TabIndex = 1;
this.AuthTabPage.Text = "Auth";
this.AuthTabPage.UseVisualStyleBackColor = true;
this.GroupBox1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
this.GroupBox1.Controls.Add((Control) this.ClientCertificateListBox);
this.GroupBox1.Controls.Add((Control) this.SelectClientCertButton);
GroupBox groupBox1_1 = this.GroupBox1;
point1 = new Point(8, 184);
Point point18 = point1;
groupBox1_1.Location = point18;
this.GroupBox1.Name = "GroupBox1";
GroupBox groupBox1_2 = this.GroupBox1;
size1 = new Size(336, 104);
Size size18 = size1;
groupBox1_2.Size = size18;
this.GroupBox1.TabIndex = 4;
this.GroupBox1.TabStop = false;
this.GroupBox1.Text = "Client Certificate";
this.ClientCertificateListBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
this.ClientCertificateListBox.FormattingEnabled = true;
this.ClientCertificateListBox.HorizontalScrollbar = true;
this.ClientCertificateListBox.ItemHeight = 12;
ListBox certificateListBox1 = this.ClientCertificateListBox;
point1 = new Point(8, 24);
Point point19 = point1;
certificateListBox1.Location = point19;
this.ClientCertificateListBox.Name = "ClientCertificateListBox";
this.ClientCertificateListBox.SelectionMode = SelectionMode.None;
ListBox certificateListBox2 = this.ClientCertificateListBox;
size1 = new Size(320, 40);
Size size19 = size1;
certificateListBox2.Size = size19;
this.ClientCertificateListBox.TabIndex = 0;
this.SelectClientCertButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
Button clientCertButton1 = this.SelectClientCertButton;
point1 = new Point(264, 72);
Point point20 = point1;
clientCertButton1.Location = point20;
this.SelectClientCertButton.Name = "SelectClientCertButton";
Button clientCertButton2 = this.SelectClientCertButton;
size1 = new Size(64, 23);
Size size20 = size1;
clientCertButton2.Size = size20;
this.SelectClientCertButton.TabIndex = 1;
this.SelectClientCertButton.Text = "Select";
this.SelectClientCertButton.UseVisualStyleBackColor = true;
this.GroupBoxTLS.Controls.Add((Control) this.CheckBoxTLS12);
this.GroupBoxTLS.Controls.Add((Control) this.CheckBoxTLS11);
this.GroupBoxTLS.Controls.Add((Control) this.CheckBoxTLS10);
this.GroupBoxTLS.Controls.Add((Control) this.CheckBoxSSL30);
GroupBox groupBoxTls1 = this.GroupBoxTLS;
point1 = new Point(208, 56);
Point point21 = point1;
groupBoxTls1.Location = point21;
this.GroupBoxTLS.Name = "GroupBoxTLS";
GroupBox groupBoxTls2 = this.GroupBoxTLS;
size1 = new Size(136, 120);
Size size21 = size1;
groupBoxTls2.Size = size21;
this.GroupBoxTLS.TabIndex = 3;
this.GroupBoxTLS.TabStop = false;
this.GroupBoxTLS.Text = "TLS/SSL";
this.CheckBoxTLS12.AutoSize = true;
CheckBox checkBoxTlS12_1 = this.CheckBoxTLS12;
point1 = new Point(16, 96);
Point point22 = point1;
checkBoxTlS12_1.Location = point22;
this.CheckBoxTLS12.Name = "CheckBoxTLS12";
CheckBox checkBoxTlS12_2 = this.CheckBoxTLS12;
size1 = new Size(100, 16);
Size size22 = size1;
checkBoxTlS12_2.Size = size22;
this.CheckBoxTLS12.TabIndex = 3;
this.CheckBoxTLS12.Text = "Disable TLS1.2";
this.CheckBoxTLS12.UseVisualStyleBackColor = true;
this.CheckBoxTLS11.AutoSize = true;
CheckBox checkBoxTlS11_1 = this.CheckBoxTLS11;
point1 = new Point(16, 72);
Point point23 = point1;
checkBoxTlS11_1.Location = point23;
this.CheckBoxTLS11.Name = "CheckBoxTLS11";
CheckBox checkBoxTlS11_2 = this.CheckBoxTLS11;
size1 = new Size(100, 16);
Size size23 = size1;
checkBoxTlS11_2.Size = size23;
this.CheckBoxTLS11.TabIndex = 2;
this.CheckBoxTLS11.Text = "Disable TLS1.1";
this.CheckBoxTLS11.UseVisualStyleBackColor = true;
this.CheckBoxTLS10.AutoSize = true;
CheckBox checkBoxTlS10_1 = this.CheckBoxTLS10;
point1 = new Point(16, 48);
Point point24 = point1;
checkBoxTlS10_1.Location = point24;
this.CheckBoxTLS10.Name = "CheckBoxTLS10";
CheckBox checkBoxTlS10_2 = this.CheckBoxTLS10;
size1 = new Size(100, 16);
Size size24 = size1;
checkBoxTlS10_2.Size = size24;
this.CheckBoxTLS10.TabIndex = 1;
this.CheckBoxTLS10.Text = "Disable TLS1.0";
this.CheckBoxTLS10.UseVisualStyleBackColor = true;
this.CheckBoxSSL30.AutoSize = true;
CheckBox checkBoxSsL30_1 = this.CheckBoxSSL30;
point1 = new Point(16, 24);
Point point25 = point1;
checkBoxSsL30_1.Location = point25;
this.CheckBoxSSL30.Name = "CheckBoxSSL30";
CheckBox checkBoxSsL30_2 = this.CheckBoxSSL30;
size1 = new Size(100, 16);
Size size25 = size1;
checkBoxSsL30_2.Size = size25;
this.CheckBoxSSL30.TabIndex = 0;
this.CheckBoxSSL30.Text = "Disable SSL3.0";
this.CheckBoxSSL30.UseVisualStyleBackColor = true;
this.GroupBoxAuthMethods.Controls.Add((Control) this.CheckBoxAuthPassport);
this.GroupBoxAuthMethods.Controls.Add((Control) this.CheckBoxAuthWSSE);
this.GroupBoxAuthMethods.Controls.Add((Control) this.CheckBoxAuthNegotiate);
this.GroupBoxAuthMethods.Controls.Add((Control) this.CheckBoxAuthKerberos);
this.GroupBoxAuthMethods.Controls.Add((Control) this.CheckBoxAuthNTLM);
this.GroupBoxAuthMethods.Controls.Add((Control) this.CheckBoxAuthDigest);
this.GroupBoxAuthMethods.Controls.Add((Control) this.CheckBoxAuthBasic);
GroupBox groupBoxAuthMethods1 = this.GroupBoxAuthMethods;
point1 = new Point(8, 56);
Point point26 = point1;
groupBoxAuthMethods1.Location = point26;
this.GroupBoxAuthMethods.Name = "GroupBoxAuthMethods";
GroupBox groupBoxAuthMethods2 = this.GroupBoxAuthMethods;
size1 = new Size(192, 120);
Size size26 = size1;
groupBoxAuthMethods2.Size = size26;
this.GroupBoxAuthMethods.TabIndex = 2;
this.GroupBoxAuthMethods.TabStop = false;
this.GroupBoxAuthMethods.Text = "Authentication Methods";
this.CheckBoxAuthPassport.AutoSize = true;
CheckBox checkBoxAuthPassport1 = this.CheckBoxAuthPassport;
point1 = new Point(112, 72);
Point point27 = point1;
checkBoxAuthPassport1.Location = point27;
this.CheckBoxAuthPassport.Name = "CheckBoxAuthPassport";
CheckBox checkBoxAuthPassport2 = this.CheckBoxAuthPassport;
size1 = new Size(69, 16);
Size size27 = size1;
checkBoxAuthPassport2.Size = size27;
this.CheckBoxAuthPassport.TabIndex = 6;
this.CheckBoxAuthPassport.Text = "Passport";
this.CheckBoxAuthPassport.UseVisualStyleBackColor = true;
this.CheckBoxAuthWSSE.AutoSize = true;
CheckBox checkBoxAuthWsse1 = this.CheckBoxAuthWSSE;
point1 = new Point(112, 48);
Point point28 = point1;
checkBoxAuthWsse1.Location = point28;
this.CheckBoxAuthWSSE.Name = "CheckBoxAuthWSSE";
CheckBox checkBoxAuthWsse2 = this.CheckBoxAuthWSSE;
size1 = new Size(54, 16);
Size size28 = size1;
checkBoxAuthWsse2.Size = size28;
this.CheckBoxAuthWSSE.TabIndex = 5;
this.CheckBoxAuthWSSE.Text = "WSSE";
this.CheckBoxAuthWSSE.UseVisualStyleBackColor = true;
this.CheckBoxAuthNegotiate.AutoSize = true;
CheckBox boxAuthNegotiate1 = this.CheckBoxAuthNegotiate;
point1 = new Point(112, 24);
Point point29 = point1;
boxAuthNegotiate1.Location = point29;
this.CheckBoxAuthNegotiate.Name = "CheckBoxAuthNegotiate";
CheckBox boxAuthNegotiate2 = this.CheckBoxAuthNegotiate;
size1 = new Size(73, 16);
Size size29 = size1;
boxAuthNegotiate2.Size = size29;
this.CheckBoxAuthNegotiate.TabIndex = 4;
this.CheckBoxAuthNegotiate.Text = "Negotiate";
this.CheckBoxAuthNegotiate.UseVisualStyleBackColor = true;
this.CheckBoxAuthKerberos.AutoSize = true;
CheckBox checkBoxAuthKerberos1 = this.CheckBoxAuthKerberos;
point1 = new Point(16, 96);
Point point30 = point1;
checkBoxAuthKerberos1.Location = point30;
this.CheckBoxAuthKerberos.Name = "CheckBoxAuthKerberos";
CheckBox checkBoxAuthKerberos2 = this.CheckBoxAuthKerberos;
size1 = new Size(69, 16);
Size size30 = size1;
checkBoxAuthKerberos2.Size = size30;
this.CheckBoxAuthKerberos.TabIndex = 3;
this.CheckBoxAuthKerberos.Text = "Kerberos";
this.CheckBoxAuthKerberos.UseVisualStyleBackColor = true;
this.CheckBoxAuthNTLM.AutoSize = true;
CheckBox checkBoxAuthNtlm1 = this.CheckBoxAuthNTLM;
point1 = new Point(16, 72);
Point point31 = point1;
checkBoxAuthNtlm1.Location = point31;
this.CheckBoxAuthNTLM.Name = "CheckBoxAuthNTLM";
CheckBox checkBoxAuthNtlm2 = this.CheckBoxAuthNTLM;
size1 = new Size(54, 16);
Size size31 = size1;
checkBoxAuthNtlm2.Size = size31;
this.CheckBoxAuthNTLM.TabIndex = 2;
this.CheckBoxAuthNTLM.Text = "NTLM";
this.CheckBoxAuthNTLM.UseVisualStyleBackColor = true;
this.CheckBoxAuthDigest.AutoSize = true;
CheckBox checkBoxAuthDigest1 = this.CheckBoxAuthDigest;
point1 = new Point(16, 48);
Point point32 = point1;
checkBoxAuthDigest1.Location = point32;
this.CheckBoxAuthDigest.Name = "CheckBoxAuthDigest";
CheckBox checkBoxAuthDigest2 = this.CheckBoxAuthDigest;
size1 = new Size(57, 16);
Size size32 = size1;
checkBoxAuthDigest2.Size = size32;
this.CheckBoxAuthDigest.TabIndex = 1;
this.CheckBoxAuthDigest.Text = "Digest";
this.CheckBoxAuthDigest.UseVisualStyleBackColor = true;
this.CheckBoxAuthBasic.AutoSize = true;
CheckBox checkBoxAuthBasic1 = this.CheckBoxAuthBasic;
point1 = new Point(16, 24);
Point point33 = point1;
checkBoxAuthBasic1.Location = point33;
this.CheckBoxAuthBasic.Name = "CheckBoxAuthBasic";
CheckBox checkBoxAuthBasic2 = this.CheckBoxAuthBasic;
size1 = new Size(53, 16);
Size size33 = size1;
checkBoxAuthBasic2.Size = size33;
this.CheckBoxAuthBasic.TabIndex = 0;
this.CheckBoxAuthBasic.Text = "Basic";
this.CheckBoxAuthBasic.UseVisualStyleBackColor = true;
this.PreAuthWSSECheckBox.AutoSize = true;
CheckBox authWsseCheckBox1 = this.PreAuthWSSECheckBox;
point1 = new Point(8, 32);
Point point34 = point1;
authWsseCheckBox1.Location = point34;
this.PreAuthWSSECheckBox.Name = "PreAuthWSSECheckBox";
CheckBox authWsseCheckBox2 = this.PreAuthWSSECheckBox;
size1 = new Size(180, 16);
Size size34 = size1;
authWsseCheckBox2.Size = size34;
this.PreAuthWSSECheckBox.TabIndex = 1;
this.PreAuthWSSECheckBox.Text = "Use WSSE PRE authentication";
this.PreAuthWSSECheckBox.UseVisualStyleBackColor = true;
this.PreAuthBasicCheckBox.AutoSize = true;
CheckBox authBasicCheckBox1 = this.PreAuthBasicCheckBox;
point1 = new Point(8, 8);
Point point35 = point1;
authBasicCheckBox1.Location = point35;
this.PreAuthBasicCheckBox.Name = "PreAuthBasicCheckBox";
CheckBox authBasicCheckBox2 = this.PreAuthBasicCheckBox;
size1 = new Size(179, 16);
Size size35 = size1;
authBasicCheckBox2.Size = size35;
this.PreAuthBasicCheckBox.TabIndex = 0;
this.PreAuthBasicCheckBox.Text = "Use Basic PRE authentication";
this.PreAuthBasicCheckBox.UseVisualStyleBackColor = true;
this.EncodingTab.Controls.Add((Control) this.Label17);
this.EncodingTab.Controls.Add((Control) this.Label16);
this.EncodingTab.Controls.Add((Control) this.UploadFilenameNormalizationComboBox);
this.EncodingTab.Controls.Add((Control) this.DownloadFilenameNormalizationComboBox);
this.EncodingTab.Controls.Add((Control) this.Label7);
this.EncodingTab.Controls.Add((Control) this.CredentialEncodingComboBox);
this.EncodingTab.Controls.Add((Control) this.Label6);
this.EncodingTab.Controls.Add((Control) this.ResponseEncodingComboBox);
this.EncodingTab.Controls.Add((Control) this.Label3);
this.EncodingTab.Controls.Add((Control) this.RequestEncodingComboBox);
TabPage encodingTab1 = this.EncodingTab;
point1 = new Point(4, 22);
Point point36 = point1;
encodingTab1.Location = point36;
this.EncodingTab.Name = "EncodingTab";
TabPage encodingTab2 = this.EncodingTab;
padding1 = new Padding(3);
Padding padding4 = padding1;
encodingTab2.Padding = padding4;
TabPage encodingTab3 = this.EncodingTab;
size1 = new Size(354, 321);
Size size36 = size1;
encodingTab3.Size = size36;
this.EncodingTab.TabIndex = 2;
this.EncodingTab.Text = "Encoding";
this.EncodingTab.UseVisualStyleBackColor = true;
Label label17_1 = this.Label17;
point1 = new Point(8, 160);
Point point37 = point1;
label17_1.Location = point37;
this.Label17.Name = "Label17";
Label label17_2 = this.Label17;
size1 = new Size(144, 32);
Size size37 = size1;
label17_2.Size = size37;
this.Label17.TabIndex = 9;
this.Label17.Text = "Upload Filename Normalization";
Label label16_1 = this.Label16;
point1 = new Point(8, 128);
Point point38 = point1;
label16_1.Location = point38;
this.Label16.Name = "Label16";
Label label16_2 = this.Label16;
size1 = new Size(144, 32);
Size size38 = size1;
label16_2.Size = size38;
this.Label16.TabIndex = 8;
this.Label16.Text = "Download Filename Normalization";
this.UploadFilenameNormalizationComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
this.UploadFilenameNormalizationComboBox.FormattingEnabled = true;
ComboBox normalizationComboBox1 = this.UploadFilenameNormalizationComboBox;
point1 = new Point(160, 160);
Point point39 = point1;
normalizationComboBox1.Location = point39;
this.UploadFilenameNormalizationComboBox.Name = "UploadFilenameNormalizationComboBox";
ComboBox normalizationComboBox2 = this.UploadFilenameNormalizationComboBox;
size1 = new Size(136, 20);
Size size39 = size1;
normalizationComboBox2.Size = size39;
this.UploadFilenameNormalizationComboBox.TabIndex = 7;
this.DownloadFilenameNormalizationComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
this.DownloadFilenameNormalizationComboBox.FormattingEnabled = true;
ComboBox normalizationComboBox3 = this.DownloadFilenameNormalizationComboBox;
point1 = new Point(160, 128);
Point point40 = point1;
normalizationComboBox3.Location = point40;
this.DownloadFilenameNormalizationComboBox.Name = "DownloadFilenameNormalizationComboBox";
ComboBox normalizationComboBox4 = this.DownloadFilenameNormalizationComboBox;
size1 = new Size(136, 20);
Size size40 = size1;
normalizationComboBox4.Size = size40;
this.DownloadFilenameNormalizationComboBox.TabIndex = 6;
Label label7_1 = this.Label7;
point1 = new Point(8, 64);
Point point41 = point1;
label7_1.Location = point41;
this.Label7.Name = "Label7";
Label label7_2 = this.Label7;
size1 = new Size(240, 32);
Size size41 = size1;
label7_2.Size = size41;
this.Label7.TabIndex = 4;
this.Label7.Text = "Username and Password encoding\r\n (for Basic/WSSE Preauthentication)";
this.CredentialEncodingComboBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
this.CredentialEncodingComboBox.AutoCompleteSource = AutoCompleteSource.ListItems;
this.CredentialEncodingComboBox.FormattingEnabled = true;
this.CredentialEncodingComboBox.Items.AddRange(new object[3]
{
(object) "EUC-jp",
(object) "Shift-JIS",
(object) "UTF-8"
});
ComboBox encodingComboBox1 = this.CredentialEncodingComboBox;
point1 = new Point(160, 96);
Point point42 = point1;
encodingComboBox1.Location = point42;
this.CredentialEncodingComboBox.Name = "CredentialEncodingComboBox";
ComboBox encodingComboBox2 = this.CredentialEncodingComboBox;
size1 = new Size(136, 20);
Size size42 = size1;
encodingComboBox2.Size = size42;
this.CredentialEncodingComboBox.Sorted = true;
this.CredentialEncodingComboBox.TabIndex = 5;
this.Label6.AutoSize = true;
Label label6_1 = this.Label6;
point1 = new Point(8, 40);
Point point43 = point1;
label6_1.Location = point43;
this.Label6.Name = "Label6";
Label label6_2 = this.Label6;
size1 = new Size(141, 12);
Size size43 = size1;
label6_2.Size = size43;
this.Label6.TabIndex = 2;
this.Label6.Text = "URI encoding for response";
this.ResponseEncodingComboBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
this.ResponseEncodingComboBox.AutoCompleteSource = AutoCompleteSource.ListItems;
this.ResponseEncodingComboBox.FormattingEnabled = true;
this.ResponseEncodingComboBox.Items.AddRange(new object[3]
{
(object) "EUC-jp",
(object) "Shift-JIS",
(object) "UTF-8"
});
ComboBox encodingComboBox3 = this.ResponseEncodingComboBox;
point1 = new Point(160, 40);
Point point44 = point1;
encodingComboBox3.Location = point44;
this.ResponseEncodingComboBox.Name = "ResponseEncodingComboBox";
ComboBox encodingComboBox4 = this.ResponseEncodingComboBox;
size1 = new Size(136, 20);
Size size44 = size1;
encodingComboBox4.Size = size44;
this.ResponseEncodingComboBox.Sorted = true;
this.ResponseEncodingComboBox.TabIndex = 3;
this.Label3.AutoSize = true;
Label label3_1 = this.Label3;
point1 = new Point(8, 16);
Point point45 = point1;
label3_1.Location = point45;
this.Label3.Name = "Label3";
Label label3_2 = this.Label3;
size1 = new Size(133, 12);
Size size45 = size1;
label3_2.Size = size45;
this.Label3.TabIndex = 0;
this.Label3.Text = "URI encoding for request";
this.RequestEncodingComboBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
this.RequestEncodingComboBox.AutoCompleteSource = AutoCompleteSource.ListItems;
this.RequestEncodingComboBox.FormattingEnabled = true;
this.RequestEncodingComboBox.Items.AddRange(new object[3]
{
(object) "EUC-jp",
(object) "Shift-JIS",
(object) "UTF-8"
});
ComboBox encodingComboBox5 = this.RequestEncodingComboBox;
point1 = new Point(160, 16);
Point point46 = point1;
encodingComboBox5.Location = point46;
this.RequestEncodingComboBox.Name = "RequestEncodingComboBox";
ComboBox encodingComboBox6 = this.RequestEncodingComboBox;
size1 = new Size(136, 20);
Size size46 = size1;
encodingComboBox6.Size = size46;
this.RequestEncodingComboBox.Sorted = true;
this.RequestEncodingComboBox.TabIndex = 1;
this.AdvancedTabPage.Controls.Add((Control) this.DisableUploadResumeCheckBox);
this.AdvancedTabPage.Controls.Add((Control) this.RequestWithoutLastSlash);
this.AdvancedTabPage.Controls.Add((Control) this.RedirectionCollectionOnly);
this.AdvancedTabPage.Controls.Add((Control) this.NotVeryfyRange);
this.AdvancedTabPage.Controls.Add((Control) this.Label8);
this.AdvancedTabPage.Controls.Add((Control) this.UploadCompressionComboBox);
this.AdvancedTabPage.Controls.Add((Control) this.FullUriDestCheckBox);
this.AdvancedTabPage.Controls.Add((Control) this.DontUpdatePropertyCheckBox);
this.AdvancedTabPage.Controls.Add((Control) this.NotExpect100CheckBox);
this.AdvancedTabPage.Controls.Add((Control) this.NotReqDeflateCheckBox);
this.AdvancedTabPage.Controls.Add((Control) this.EmptyPUTCheckBox);
this.AdvancedTabPage.Controls.Add((Control) this.SendTranslateFCheckBox);
this.AdvancedTabPage.Controls.Add((Control) this.NotReqGzipCheckBox);
this.AdvancedTabPage.Controls.Add((Control) this.CheckBox2);
this.AdvancedTabPage.Controls.Add((Control) this.CheckBox1);
TabPage advancedTabPage1 = this.AdvancedTabPage;
point1 = new Point(4, 22);
Point point47 = point1;
advancedTabPage1.Location = point47;
this.AdvancedTabPage.Name = "AdvancedTabPage";
TabPage advancedTabPage2 = this.AdvancedTabPage;
padding1 = new Padding(3);
Padding padding5 = padding1;
advancedTabPage2.Padding = padding5;
TabPage advancedTabPage3 = this.AdvancedTabPage;
size1 = new Size(354, 321);
Size size47 = size1;
advancedTabPage3.Size = size47;
this.AdvancedTabPage.TabIndex = 3;
this.AdvancedTabPage.Text = "Advanced";
this.AdvancedTabPage.UseVisualStyleBackColor = true;
this.DisableUploadResumeCheckBox.AutoSize = true;
CheckBox uploadResumeCheckBox1 = this.DisableUploadResumeCheckBox;
point1 = new Point(8, 256);
Point point48 = point1;
uploadResumeCheckBox1.Location = point48;
this.DisableUploadResumeCheckBox.Name = "DisableUploadResumeCheckBox";
CheckBox uploadResumeCheckBox2 = this.DisableUploadResumeCheckBox;
size1 = new Size(146, 16);
Size size48 = size1;
uploadResumeCheckBox2.Size = size48;
this.DisableUploadResumeCheckBox.TabIndex = 10;
this.DisableUploadResumeCheckBox.Text = "Disable Upload Resume";
this.DisableUploadResumeCheckBox.UseVisualStyleBackColor = true;
this.RequestWithoutLastSlash.AutoSize = true;
CheckBox withoutLastSlash1 = this.RequestWithoutLastSlash;
point1 = new Point(8, 232);
Point point49 = point1;
withoutLastSlash1.Location = point49;
this.RequestWithoutLastSlash.Name = "RequestWithoutLastSlash";
CheckBox withoutLastSlash2 = this.RequestWithoutLastSlash;
size1 = new Size(219, 16);
Size size49 = size1;
withoutLastSlash2.Size = size49;
this.RequestWithoutLastSlash.TabIndex = 9;
this.RequestWithoutLastSlash.Text = "Request without last slash on MKCOL";
this.RequestWithoutLastSlash.UseVisualStyleBackColor = true;
this.RedirectionCollectionOnly.AutoSize = true;
CheckBox redirectionCollectionOnly1 = this.RedirectionCollectionOnly;
point1 = new Point(8, 208);
Point point50 = point1;
redirectionCollectionOnly1.Location = point50;
this.RedirectionCollectionOnly.Name = "RedirectionCollectionOnly";
CheckBox redirectionCollectionOnly2 = this.RedirectionCollectionOnly;
size1 = new Size(211, 16);
Size size50 = size1;
redirectionCollectionOnly2.Size = size50;
this.RedirectionCollectionOnly.TabIndex = 8;
this.RedirectionCollectionOnly.Text = "Follow redirection only for collection";
this.RedirectionCollectionOnly.UseVisualStyleBackColor = true;
this.NotVeryfyRange.AutoSize = true;
CheckBox notVeryfyRange1 = this.NotVeryfyRange;
point1 = new Point(8, 184);
Point point51 = point1;
notVeryfyRange1.Location = point51;
this.NotVeryfyRange.Name = "NotVeryfyRange";
CheckBox notVeryfyRange2 = this.NotVeryfyRange;
size1 = new Size(203, 16);
Size size51 = size1;
notVeryfyRange2.Size = size51;
this.NotVeryfyRange.TabIndex = 7;
this.NotVeryfyRange.Text = "Don't verify Content-Range header";
this.NotVeryfyRange.UseVisualStyleBackColor = true;
this.Label8.AutoSize = true;
Label label8_1 = this.Label8;
point1 = new Point(8, 288);
Point point52 = point1;
label8_1.Location = point52;
this.Label8.Name = "Label8";
Label label8_2 = this.Label8;
size1 = new Size(110, 12);
Size size52 = size1;
label8_2.Size = size52;
this.Label8.TabIndex = 11;
this.Label8.Text = "Upload Compression";
this.UploadCompressionComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
this.UploadCompressionComboBox.FormattingEnabled = true;
ComboBox compressionComboBox1 = this.UploadCompressionComboBox;
point1 = new Point(128, 288);
Point point53 = point1;
compressionComboBox1.Location = point53;
this.UploadCompressionComboBox.Name = "UploadCompressionComboBox";
ComboBox compressionComboBox2 = this.UploadCompressionComboBox;
size1 = new Size(121, 20);
Size size53 = size1;
compressionComboBox2.Size = size53;
this.UploadCompressionComboBox.TabIndex = 12;
this.FullUriDestCheckBox.AutoSize = true;
CheckBox fullUriDestCheckBox1 = this.FullUriDestCheckBox;
point1 = new Point(8, 160);
Point point54 = point1;
fullUriDestCheckBox1.Location = point54;
this.FullUriDestCheckBox.Name = "FullUriDestCheckBox";
CheckBox fullUriDestCheckBox2 = this.FullUriDestCheckBox;
size1 = new Size(217, 16);
Size size54 = size1;
fullUriDestCheckBox2.Size = size54;
this.FullUriDestCheckBox.TabIndex = 6;
this.FullUriDestCheckBox.Text = "Send full URI in \"Destination\" header";
this.FullUriDestCheckBox.UseVisualStyleBackColor = true;
this.DontUpdatePropertyCheckBox.AutoSize = true;
CheckBox propertyCheckBox1 = this.DontUpdatePropertyCheckBox;
point1 = new Point(8, 136);
Point point55 = point1;
propertyCheckBox1.Location = point55;
this.DontUpdatePropertyCheckBox.Name = "DontUpdatePropertyCheckBox";
CheckBox propertyCheckBox2 = this.DontUpdatePropertyCheckBox;
size1 = new Size(134, 16);
Size size55 = size1;
propertyCheckBox2.Size = size55;
this.DontUpdatePropertyCheckBox.TabIndex = 5;
this.DontUpdatePropertyCheckBox.Text = "Don't update property";
this.DontUpdatePropertyCheckBox.UseVisualStyleBackColor = true;
this.NotExpect100CheckBox.AutoSize = true;
CheckBox expect100CheckBox1 = this.NotExpect100CheckBox;
point1 = new Point(8, 88);
Point point56 = point1;
expect100CheckBox1.Location = point56;
this.NotExpect100CheckBox.Name = "NotExpect100CheckBox";
CheckBox expect100CheckBox2 = this.NotExpect100CheckBox;
size1 = new Size(256, 16);
Size size56 = size1;
expect100CheckBox2.Size = size56;
this.NotExpect100CheckBox.TabIndex = 3;
this.NotExpect100CheckBox.Text = "Don't request \"Expect: 100-Continue\" header";
this.NotExpect100CheckBox.UseVisualStyleBackColor = true;
this.NotReqDeflateCheckBox.AutoSize = true;
CheckBox reqDeflateCheckBox1 = this.NotReqDeflateCheckBox;
point1 = new Point(8, 40);
Point point57 = point1;
reqDeflateCheckBox1.Location = point57;
this.NotReqDeflateCheckBox.Name = "NotReqDeflateCheckBox";
CheckBox reqDeflateCheckBox2 = this.NotReqDeflateCheckBox;
size1 = new Size(197, 16);
Size size57 = size1;
reqDeflateCheckBox2.Size = size57;
this.NotReqDeflateCheckBox.TabIndex = 1;
this.NotReqDeflateCheckBox.Text = "Don't request deflate (zlib) coding";
this.NotReqDeflateCheckBox.UseVisualStyleBackColor = true;
this.EmptyPUTCheckBox.AutoSize = true;
CheckBox emptyPutCheckBox1 = this.EmptyPUTCheckBox;
point1 = new Point(8, 112);
Point point58 = point1;
emptyPutCheckBox1.Location = point58;
this.EmptyPUTCheckBox.Name = "EmptyPUTCheckBox";
CheckBox emptyPutCheckBox2 = this.EmptyPUTCheckBox;
size1 = new Size(245, 16);
Size size58 = size1;
emptyPutCheckBox2.Size = size58;
this.EmptyPUTCheckBox.TabIndex = 4;
this.EmptyPUTCheckBox.Text = "Always send empty PUT befor actural PUT";
this.EmptyPUTCheckBox.UseVisualStyleBackColor = true;
this.SendTranslateFCheckBox.AutoSize = true;
CheckBox translateFcheckBox1 = this.SendTranslateFCheckBox;
point1 = new Point(8, 64);
Point point59 = point1;
translateFcheckBox1.Location = point59;
this.SendTranslateFCheckBox.Name = "SendTranslateFCheckBox";
CheckBox translateFcheckBox2 = this.SendTranslateFCheckBox;
size1 = new Size(161, 16);
Size size59 = size1;
translateFcheckBox2.Size = size59;
this.SendTranslateFCheckBox.TabIndex = 2;
this.SendTranslateFCheckBox.Text = "Send \"Translate: f\" header";
this.SendTranslateFCheckBox.UseVisualStyleBackColor = true;
this.NotReqGzipCheckBox.AutoSize = true;
CheckBox notReqGzipCheckBox1 = this.NotReqGzipCheckBox;
point1 = new Point(8, 16);
Point point60 = point1;
notReqGzipCheckBox1.Location = point60;
this.NotReqGzipCheckBox.Name = "NotReqGzipCheckBox";
CheckBox notReqGzipCheckBox2 = this.NotReqGzipCheckBox;
size1 = new Size(153, 16);
Size size60 = size1;
notReqGzipCheckBox2.Size = size60;
this.NotReqGzipCheckBox.TabIndex = 0;
this.NotReqGzipCheckBox.Text = "Don't request gzip coding";
this.NotReqGzipCheckBox.UseVisualStyleBackColor = true;
this.CheckBox2.AutoSize = true;
CheckBox checkBox2_1 = this.CheckBox2;
point1 = new Point(192, 152);
Point point61 = point1;
checkBox2_1.Location = point61;
this.CheckBox2.Name = "CheckBox2";
CheckBox checkBox2_2 = this.CheckBox2;
size1 = new Size(156, 16);
Size size61 = size1;
checkBox2_2.Size = size61;
this.CheckBox2.TabIndex = 14;
this.CheckBox2.Text = "Don't use LOCK/UNLOCK";
this.CheckBox2.UseVisualStyleBackColor = true;
this.CheckBox2.Visible = false;
this.CheckBox1.AutoSize = true;
CheckBox checkBox1_1 = this.CheckBox1;
point1 = new Point(192, 128);
Point point62 = point1;
checkBox1_1.Location = point62;
this.CheckBox1.Name = "CheckBox1";
CheckBox checkBox1_2 = this.CheckBox1;
size1 = new Size(198, 16);
Size size62 = size1;
checkBox1_2.Size = size62;
this.CheckBox1.TabIndex = 13;
this.CheckBox1.Text = "Don't send with chunked encoding";
this.CheckBox1.UseVisualStyleBackColor = true;
this.CheckBox1.Visible = false;
this.ProxyTabPage.Controls.Add((Control) this.ProxyUseDefaultCredential);
this.ProxyTabPage.Controls.Add((Control) this.Label15);
this.ProxyTabPage.Controls.Add((Control) this.Label14);
this.ProxyTabPage.Controls.Add((Control) this.Label13);
this.ProxyTabPage.Controls.Add((Control) this.Label12);
this.ProxyTabPage.Controls.Add((Control) this.ProxyPasswordTextBox);
this.ProxyTabPage.Controls.Add((Control) this.ProxyUsernameTextBox);
this.ProxyTabPage.Controls.Add((Control) this.ProxyBypassListTextBox);
this.ProxyTabPage.Controls.Add((Control) this.ProxyBypassLocalCheckBox);
this.ProxyTabPage.Controls.Add((Control) this.ProxyURITextBox);
this.ProxyTabPage.Controls.Add((Control) this.NoProxyRadio);
this.ProxyTabPage.Controls.Add((Control) this.SpecifyProxyRadio);
this.ProxyTabPage.Controls.Add((Control) this.DefaultProxyRadio);
TabPage proxyTabPage1 = this.ProxyTabPage;
point1 = new Point(4, 22);
Point point63 = point1;
proxyTabPage1.Location = point63;
this.ProxyTabPage.Name = "ProxyTabPage";
TabPage proxyTabPage2 = this.ProxyTabPage;
size1 = new Size(354, 321);
Size size63 = size1;
proxyTabPage2.Size = size63;
this.ProxyTabPage.TabIndex = 4;
this.ProxyTabPage.Text = "Proxy";
this.ProxyTabPage.UseVisualStyleBackColor = true;
this.ProxyUseDefaultCredential.AutoSize = true;
CheckBox defaultCredential1 = this.ProxyUseDefaultCredential;
point1 = new Point(96, 136);
Point point64 = point1;
defaultCredential1.Location = point64;
this.ProxyUseDefaultCredential.Name = "ProxyUseDefaultCredential";
CheckBox defaultCredential2 = this.ProxyUseDefaultCredential;
size1 = new Size(201, 16);
Size size64 = size1;
defaultCredential2.Size = size64;
this.ProxyUseDefaultCredential.TabIndex = 12;
this.ProxyUseDefaultCredential.Text = "Integrated Windows Authentication";
this.ProxyUseDefaultCredential.UseVisualStyleBackColor = true;
this.Label15.AutoSize = true;
Label label15_1 = this.Label15;
point1 = new Point(24, 64);
Point point65 = point1;
label15_1.Location = point65;
this.Label15.Name = "Label15";
Label label15_2 = this.Label15;
size1 = new Size(60, 12);
Size size65 = size1;
label15_2.Size = size65;
this.Label15.TabIndex = 11;
this.Label15.Text = "Proxy URL";
this.Label14.AutoSize = true;
Label label14_1 = this.Label14;
point1 = new Point(24, 112);
Point point66 = point1;
label14_1.Location = point66;
this.Label14.Name = "Label14";
Label label14_2 = this.Label14;
size1 = new Size(63, 12);
Size size66 = size1;
label14_2.Size = size66;
this.Label14.TabIndex = 10;
this.Label14.Text = "Bypass list";
this.Label13.AutoSize = true;
Label label13_1 = this.Label13;
point1 = new Point(24, 184);
Point point67 = point1;
label13_1.Location = point67;
this.Label13.Name = "Label13";
Label label13_2 = this.Label13;
size1 = new Size(54, 12);
Size size67 = size1;
label13_2.Size = size67;
this.Label13.TabIndex = 9;
this.Label13.Text = "Password";
this.Label12.AutoSize = true;
Label label12_1 = this.Label12;
point1 = new Point(24, 160);
Point point68 = point1;
label12_1.Location = point68;
this.Label12.Name = "Label12";
Label label12_2 = this.Label12;
size1 = new Size(56, 12);
Size size68 = size1;
label12_2.Size = size68;
this.Label12.TabIndex = 8;
this.Label12.Text = "Username";
this.ProxyPasswordTextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
TextBox proxyPasswordTextBox1 = this.ProxyPasswordTextBox;
point1 = new Point(96, 184);
Point point69 = point1;
proxyPasswordTextBox1.Location = point69;
this.ProxyPasswordTextBox.Name = "ProxyPasswordTextBox";
TextBox proxyPasswordTextBox2 = this.ProxyPasswordTextBox;
size1 = new Size(233, 19);
Size size69 = size1;
proxyPasswordTextBox2.Size = size69;
this.ProxyPasswordTextBox.TabIndex = 7;
this.ProxyUsernameTextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
TextBox proxyUsernameTextBox1 = this.ProxyUsernameTextBox;
point1 = new Point(96, 160);
Point point70 = point1;
proxyUsernameTextBox1.Location = point70;
this.ProxyUsernameTextBox.Name = "ProxyUsernameTextBox";
TextBox proxyUsernameTextBox2 = this.ProxyUsernameTextBox;
size1 = new Size(233, 19);
Size size70 = size1;
proxyUsernameTextBox2.Size = size70;
this.ProxyUsernameTextBox.TabIndex = 6;
this.ProxyBypassListTextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
TextBox bypassListTextBox1 = this.ProxyBypassListTextBox;
point1 = new Point(96, 112);
Point point71 = point1;
bypassListTextBox1.Location = point71;
this.ProxyBypassListTextBox.Name = "ProxyBypassListTextBox";
TextBox bypassListTextBox2 = this.ProxyBypassListTextBox;
size1 = new Size(233, 19);
Size size71 = size1;
bypassListTextBox2.Size = size71;
this.ProxyBypassListTextBox.TabIndex = 5;
this.ProxyBypassLocalCheckBox.AutoSize = true;
CheckBox bypassLocalCheckBox1 = this.ProxyBypassLocalCheckBox;
point1 = new Point(96, 88);
Point point72 = point1;
bypassLocalCheckBox1.Location = point72;
this.ProxyBypassLocalCheckBox.Name = "ProxyBypassLocalCheckBox";
CheckBox bypassLocalCheckBox2 = this.ProxyBypassLocalCheckBox;
size1 = new Size(90, 16);
Size size72 = size1;
bypassLocalCheckBox2.Size = size72;
this.ProxyBypassLocalCheckBox.TabIndex = 4;
this.ProxyBypassLocalCheckBox.Text = "Bypass local";
this.ProxyBypassLocalCheckBox.UseVisualStyleBackColor = true;
this.ProxyURITextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
TextBox proxyUriTextBox1 = this.ProxyURITextBox;
point1 = new Point(96, 64);
Point point73 = point1;
proxyUriTextBox1.Location = point73;
this.ProxyURITextBox.Name = "ProxyURITextBox";
TextBox proxyUriTextBox2 = this.ProxyURITextBox;
size1 = new Size(233, 19);
Size size73 = size1;
proxyUriTextBox2.Size = size73;
this.ProxyURITextBox.TabIndex = 3;
this.NoProxyRadio.AutoSize = true;
RadioButton noProxyRadio1 = this.NoProxyRadio;
point1 = new Point(16, 208);
Point point74 = point1;
noProxyRadio1.Location = point74;
this.NoProxyRadio.Name = "NoProxyRadio";
RadioButton noProxyRadio2 = this.NoProxyRadio;
size1 = new Size(70, 16);
Size size74 = size1;
noProxyRadio2.Size = size74;
this.NoProxyRadio.TabIndex = 2;
this.NoProxyRadio.Text = "No Proxy";
this.NoProxyRadio.UseVisualStyleBackColor = true;
this.SpecifyProxyRadio.AutoSize = true;
RadioButton specifyProxyRadio1 = this.SpecifyProxyRadio;
point1 = new Point(16, 40);
Point point75 = point1;
specifyProxyRadio1.Location = point75;
this.SpecifyProxyRadio.Name = "SpecifyProxyRadio";
RadioButton specifyProxyRadio2 = this.SpecifyProxyRadio;
size1 = new Size(94, 16);
Size size75 = size1;
specifyProxyRadio2.Size = size75;
this.SpecifyProxyRadio.TabIndex = 1;
this.SpecifyProxyRadio.Text = "Specify Proxy";
this.SpecifyProxyRadio.UseVisualStyleBackColor = true;
this.DefaultProxyRadio.AutoSize = true;
this.DefaultProxyRadio.Checked = true;
RadioButton defaultProxyRadio1 = this.DefaultProxyRadio;
point1 = new Point(16, 16);
Point point76 = point1;
defaultProxyRadio1.Location = point76;
this.DefaultProxyRadio.Name = "DefaultProxyRadio";
RadioButton defaultProxyRadio2 = this.DefaultProxyRadio;
size1 = new Size(93, 16);
Size size76 = size1;
defaultProxyRadio2.Size = size76;
this.DefaultProxyRadio.TabIndex = 0;
this.DefaultProxyRadio.TabStop = true;
this.DefaultProxyRadio.Text = "Default Proxy";
this.DefaultProxyRadio.UseVisualStyleBackColor = true;
this.TimeoutTabPage.Controls.Add((Control) this.Label11);
this.TimeoutTabPage.Controls.Add((Control) this.Label10);
this.TimeoutTabPage.Controls.Add((Control) this.StreamTimeoutComboBox);
this.TimeoutTabPage.Controls.Add((Control) this.ConnectionTimeoutComboBox);
TabPage timeoutTabPage1 = this.TimeoutTabPage;
point1 = new Point(4, 22);
Point point77 = point1;
timeoutTabPage1.Location = point77;
this.TimeoutTabPage.Name = "TimeoutTabPage";
TabPage timeoutTabPage2 = this.TimeoutTabPage;
size1 = new Size(354, 321);
Size size77 = size1;
timeoutTabPage2.Size = size77;
this.TimeoutTabPage.TabIndex = 5;
this.TimeoutTabPage.Text = "Timeout";
this.TimeoutTabPage.UseVisualStyleBackColor = true;
this.Label11.AutoSize = true;
Label label11_1 = this.Label11;
point1 = new Point(16, 64);
Point point78 = point1;
label11_1.Location = point78;
this.Label11.Name = "Label11";
Label label11_2 = this.Label11;
size1 = new Size(164, 12);
Size size78 = size1;
label11_2.Size = size78;
this.Label11.TabIndex = 2;
this.Label11.Text = "Stream Read Write Timeout [s]";
this.Label10.AutoSize = true;
Label label10_1 = this.Label10;
point1 = new Point(16, 16);
Point point79 = point1;
label10_1.Location = point79;
this.Label10.Name = "Label10";
Label label10_2 = this.Label10;
size1 = new Size(125, 12);
Size size79 = size1;
label10_2.Size = size79;
this.Label10.TabIndex = 0;
this.Label10.Text = "Connection Timeout [s]";
this.StreamTimeoutComboBox.FormattingEnabled = true;
ComboBox streamTimeoutComboBox1 = this.StreamTimeoutComboBox;
point1 = new Point(72, 80);
Point point80 = point1;
streamTimeoutComboBox1.Location = point80;
this.StreamTimeoutComboBox.Name = "StreamTimeoutComboBox";
ComboBox streamTimeoutComboBox2 = this.StreamTimeoutComboBox;
size1 = new Size(121, 20);
Size size80 = size1;
streamTimeoutComboBox2.Size = size80;
this.StreamTimeoutComboBox.TabIndex = 3;
this.ConnectionTimeoutComboBox.FormattingEnabled = true;
ComboBox connectionTimeoutComboBox1 = this.ConnectionTimeoutComboBox;
point1 = new Point(72, 32);
Point point81 = point1;
connectionTimeoutComboBox1.Location = point81;
this.ConnectionTimeoutComboBox.Name = "ConnectionTimeoutComboBox";
ComboBox connectionTimeoutComboBox2 = this.ConnectionTimeoutComboBox;
size1 = new Size(121, 20);
Size size81 = size1;
connectionTimeoutComboBox2.Size = size81;
this.ConnectionTimeoutComboBox.TabIndex = 1;
this.TabPage1.Controls.Add((Control) this.HideUnencDirCheckBox);
this.TabPage1.Controls.Add((Control) this.HideUnencFileCheckBox);
this.TabPage1.Controls.Add((Control) this.ComboBoxEscapeString);
this.TabPage1.Controls.Add((Control) this.Label19);
this.TabPage1.Controls.Add((Control) this.EncryptKeyTextBox);
this.TabPage1.Controls.Add((Control) this.EncryptionCheck);
this.TabPage1.Controls.Add((Control) this.Label9);
this.TabPage1.Controls.Add((Control) this.Label20);
this.TabPage1.Controls.Add((Control) this.Label18);
this.TabPage1.Controls.Add((Control) this.SplitSizeComboBox);
this.TabPage1.Controls.Add((Control) this.AutoSplitCheckBox);
TabPage tabPage1_1 = this.TabPage1;
point1 = new Point(4, 22);
Point point82 = point1;
tabPage1_1.Location = point82;
this.TabPage1.Name = "TabPage1";
TabPage tabPage1_2 = this.TabPage1;
size1 = new Size(354, 321);
Size size82 = size1;
tabPage1_2.Size = size82;
this.TabPage1.TabIndex = 6;
this.TabPage1.Text = "Special";
this.TabPage1.UseVisualStyleBackColor = true;
this.HideUnencDirCheckBox.AutoSize = true;
CheckBox unencDirCheckBox1 = this.HideUnencDirCheckBox;
point1 = new Point(96, 80);
Point point83 = point1;
unencDirCheckBox1.Location = point83;
this.HideUnencDirCheckBox.Name = "HideUnencDirCheckBox";
CheckBox unencDirCheckBox2 = this.HideUnencDirCheckBox;
size1 = new Size(166, 16);
Size size83 = size1;
unencDirCheckBox2.Size = size83;
this.HideUnencDirCheckBox.TabIndex = 4;
this.HideUnencDirCheckBox.Text = "Hide Unencrypted Directory";
this.HideUnencDirCheckBox.UseVisualStyleBackColor = true;
this.HideUnencFileCheckBox.AutoSize = true;
CheckBox unencFileCheckBox1 = this.HideUnencFileCheckBox;
point1 = new Point(96, 64);
Point point84 = point1;
unencFileCheckBox1.Location = point84;
this.HideUnencFileCheckBox.Name = "HideUnencFileCheckBox";
CheckBox unencFileCheckBox2 = this.HideUnencFileCheckBox;
size1 = new Size(138, 16);
Size size84 = size1;
unencFileCheckBox2.Size = size84;
this.HideUnencFileCheckBox.TabIndex = 3;
this.HideUnencFileCheckBox.Text = "Hide Unencrypted File";
this.HideUnencFileCheckBox.UseVisualStyleBackColor = true;
this.ComboBoxEscapeString.DropDownStyle = ComboBoxStyle.DropDownList;
this.ComboBoxEscapeString.FormattingEnabled = true;
this.ComboBoxEscapeString.Items.AddRange(new object[7]
{
(object) "^_",
(object) ":D",
(object) ";)",
(object) "T-T",
(object) "orz",
(object) "ノシ",
(object) "(´・ω・)"
});
ComboBox comboBoxEscapeString1 = this.ComboBoxEscapeString;
point1 = new Point(96, 184);
Point point85 = point1;
comboBoxEscapeString1.Location = point85;
this.ComboBoxEscapeString.Name = "ComboBoxEscapeString";
ComboBox comboBoxEscapeString2 = this.ComboBoxEscapeString;
size1 = new Size(121, 20);
Size size85 = size1;
comboBoxEscapeString2.Size = size85;
this.ComboBoxEscapeString.TabIndex = 10;
this.Label19.AutoSize = true;
Label label19_1 = this.Label19;
point1 = new Point(64, 40);
Point point86 = point1;
label19_1.Location = point86;
this.Label19.Name = "Label19";
Label label19_2 = this.Label19;
size1 = new Size(24, 12);
Size size86 = size1;
label19_2.Size = size86;
this.Label19.TabIndex = 1;
this.Label19.Text = "Key";
TextBox encryptKeyTextBox1 = this.EncryptKeyTextBox;
point1 = new Point(96, 40);
Point point87 = point1;
encryptKeyTextBox1.Location = point87;
this.EncryptKeyTextBox.Name = "EncryptKeyTextBox";
TextBox encryptKeyTextBox2 = this.EncryptKeyTextBox;
size1 = new Size(120, 19);
Size size87 = size1;
encryptKeyTextBox2.Size = size87;
this.EncryptKeyTextBox.TabIndex = 2;
this.EncryptKeyTextBox.UseSystemPasswordChar = true;
this.EncryptionCheck.AutoSize = true;
CheckBox encryptionCheck1 = this.EncryptionCheck;
point1 = new Point(8, 16);
Point point88 = point1;
encryptionCheck1.Location = point88;
this.EncryptionCheck.Name = "EncryptionCheck";
CheckBox encryptionCheck2 = this.EncryptionCheck;
size1 = new Size(78, 16);
Size size88 = size1;
encryptionCheck2.Size = size88;
this.EncryptionCheck.TabIndex = 0;
this.EncryptionCheck.Text = "Encryption";
this.EncryptionCheck.UseVisualStyleBackColor = true;
this.Label9.AutoSize = true;
Label label9_1 = this.Label9;
point1 = new Point(224, 136);
Point point89 = point1;
label9_1.Location = point89;
this.Label9.Name = "Label9";
Label label9_2 = this.Label9;
size1 = new Size(25, 12);
Size size89 = size1;
label9_2.Size = size89;
this.Label9.TabIndex = 8;
this.Label9.Text = "MiB";
this.Label20.AutoSize = true;
Label label20_1 = this.Label20;
point1 = new Point(16, 184);
Point point90 = point1;
label20_1.Location = point90;
this.Label20.Name = "Label20";
Label label20_2 = this.Label20;
size1 = new Size(76, 12);
Size size90 = size1;
label20_2.Size = size90;
this.Label20.TabIndex = 9;
this.Label20.Text = "Escape String";
this.Label18.AutoSize = true;
Label label18_1 = this.Label18;
point1 = new Point(24, 136);
Point point91 = point1;
label18_1.Location = point91;
this.Label18.Name = "Label18";
Label label18_2 = this.Label18;
size1 = new Size(67, 12);
Size size91 = size1;
label18_2.Size = size91;
this.Label18.TabIndex = 6;
this.Label18.Text = "greater than";
this.SplitSizeComboBox.FormattingEnabled = true;
ComboBox splitSizeComboBox1 = this.SplitSizeComboBox;
point1 = new Point(96, 136);
Point point92 = point1;
splitSizeComboBox1.Location = point92;
this.SplitSizeComboBox.Name = "SplitSizeComboBox";
ComboBox splitSizeComboBox2 = this.SplitSizeComboBox;
size1 = new Size(121, 20);
Size size92 = size1;
splitSizeComboBox2.Size = size92;
this.SplitSizeComboBox.TabIndex = 7;
this.AutoSplitCheckBox.AutoSize = true;
CheckBox autoSplitCheckBox1 = this.AutoSplitCheckBox;
point1 = new Point(8, 112);
Point point93 = point1;
autoSplitCheckBox1.Location = point93;
this.AutoSplitCheckBox.Name = "AutoSplitCheckBox";
CheckBox autoSplitCheckBox2 = this.AutoSplitCheckBox;
size1 = new Size(154, 16);
Size size93 = size1;
autoSplitCheckBox2.Size = size93;
this.AutoSplitCheckBox.TabIndex = 5;
this.AutoSplitCheckBox.Text = "Auto Split/Combine Files";
this.AutoSplitCheckBox.UseVisualStyleBackColor = true;
this.AcceptButton = (IButtonControl) this.OKButton;
this.AutoScaleDimensions = new SizeF(6f, 12f);
this.AutoScaleMode = AutoScaleMode.Font;
this.CancelButton = (IButtonControl) this.m_CancelButton;
size1 = new Size(377, 393);
this.ClientSize = size1;
this.Controls.Add((Control) this.TabControl1);
this.Controls.Add((Control) this.TestButton);
this.Controls.Add((Control) this.m_CancelButton);
this.Controls.Add((Control) this.OKButton);
this.MaximizeBox = false;
this.MinimizeBox = false;
size1 = new Size(393, 431);
this.MinimumSize = size1;
this.Name = nameof (ConnectionSettingForm);
this.ShowInTaskbar = false;
this.StartPosition = FormStartPosition.CenterParent;
this.Text = "Connection Setting";
this.TabControl1.ResumeLayout(false);
this.GeneralTabPage.ResumeLayout(false);
this.GeneralTabPage.PerformLayout();
this.AuthTabPage.ResumeLayout(false);
this.AuthTabPage.PerformLayout();
this.GroupBox1.ResumeLayout(false);
this.GroupBoxTLS.ResumeLayout(false);
this.GroupBoxTLS.PerformLayout();
this.GroupBoxAuthMethods.ResumeLayout(false);
this.GroupBoxAuthMethods.PerformLayout();
this.EncodingTab.ResumeLayout(false);
this.EncodingTab.PerformLayout();
this.AdvancedTabPage.ResumeLayout(false);
this.AdvancedTabPage.PerformLayout();
this.ProxyTabPage.ResumeLayout(false);
this.ProxyTabPage.PerformLayout();
this.TimeoutTabPage.ResumeLayout(false);
this.TimeoutTabPage.PerformLayout();
this.TabPage1.ResumeLayout(false);
this.TabPage1.PerformLayout();
this.ResumeLayout(false);
}
internal virtual TextBox SettingNameTextBox
{
get
{
return this._SettingNameTextBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.TextBox_TextChanged);
if (this._SettingNameTextBox != null)
this._SettingNameTextBox.TextChanged -= eventHandler;
this._SettingNameTextBox = value;
if (this._SettingNameTextBox == null)
return;
this._SettingNameTextBox.TextChanged += eventHandler;
}
}
internal virtual TextBox URITextBox
{
get
{
return this._URITextBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.TextBox_TextChanged);
if (this._URITextBox != null)
this._URITextBox.TextChanged -= eventHandler;
this._URITextBox = value;
if (this._URITextBox == null)
return;
this._URITextBox.TextChanged += eventHandler;
}
}
internal virtual Button OKButton
{
get
{
return this._OKButton;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.OKButton_Click);
if (this._OKButton != null)
this._OKButton.Click -= eventHandler;
this._OKButton = value;
if (this._OKButton == null)
return;
this._OKButton.Click += eventHandler;
}
}
internal virtual Button m_CancelButton
{
get
{
return this._m_CancelButton;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._m_CancelButton = value;
}
}
internal virtual Label Label1
{
get
{
return this._Label1;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label1 = value;
}
}
internal virtual Label Label2
{
get
{
return this._Label2;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label2 = value;
}
}
internal virtual TextBox UserNameTextBox
{
get
{
return this._UserNameTextBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._UserNameTextBox = value;
}
}
internal virtual TextBox PasswordTextBox
{
get
{
return this._PasswordTextBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._PasswordTextBox = value;
}
}
internal virtual Label Label4
{
get
{
return this._Label4;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label4 = value;
}
}
internal virtual Label Label5
{
get
{
return this._Label5;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label5 = value;
}
}
internal virtual CheckBox DontSaveCheckBox
{
get
{
return this._DontSaveCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckedChanged);
if (this._DontSaveCheckBox != null)
this._DontSaveCheckBox.CheckedChanged -= eventHandler;
this._DontSaveCheckBox = value;
if (this._DontSaveCheckBox == null)
return;
this._DontSaveCheckBox.CheckedChanged += eventHandler;
}
}
internal virtual Button TestButton
{
get
{
return this._TestButton;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.TestButton_Click);
if (this._TestButton != null)
this._TestButton.Click -= eventHandler;
this._TestButton = value;
if (this._TestButton == null)
return;
this._TestButton.Click += eventHandler;
}
}
internal virtual TabControl TabControl1
{
get
{
return this._TabControl1;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._TabControl1 = value;
}
}
internal virtual TabPage GeneralTabPage
{
get
{
return this._GeneralTabPage;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._GeneralTabPage = value;
}
}
internal virtual TabPage AdvancedTabPage
{
get
{
return this._AdvancedTabPage;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._AdvancedTabPage = value;
}
}
internal virtual CheckBox CheckBox1
{
get
{
return this._CheckBox1;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBox1 = value;
}
}
internal virtual CheckBox CheckBox2
{
get
{
return this._CheckBox2;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBox2 = value;
}
}
internal virtual CheckBox NotReqGzipCheckBox
{
get
{
return this._NotReqGzipCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._NotReqGzipCheckBox = value;
}
}
internal virtual CheckBox SendTranslateFCheckBox
{
get
{
return this._SendTranslateFCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._SendTranslateFCheckBox = value;
}
}
internal virtual CheckBox EmptyPUTCheckBox
{
get
{
return this._EmptyPUTCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._EmptyPUTCheckBox = value;
}
}
internal virtual TabPage AuthTabPage
{
get
{
return this._AuthTabPage;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._AuthTabPage = value;
}
}
internal virtual CheckBox PreAuthBasicCheckBox
{
get
{
return this._PreAuthBasicCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckedChanged);
if (this._PreAuthBasicCheckBox != null)
this._PreAuthBasicCheckBox.CheckedChanged -= eventHandler;
this._PreAuthBasicCheckBox = value;
if (this._PreAuthBasicCheckBox == null)
return;
this._PreAuthBasicCheckBox.CheckedChanged += eventHandler;
}
}
internal virtual TabPage EncodingTab
{
get
{
return this._EncodingTab;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._EncodingTab = value;
}
}
internal virtual Label Label6
{
get
{
return this._Label6;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label6 = value;
}
}
internal virtual ComboBox ResponseEncodingComboBox
{
get
{
return this._ResponseEncodingComboBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ResponseEncodingComboBox = value;
}
}
internal virtual Label Label3
{
get
{
return this._Label3;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label3 = value;
}
}
internal virtual ComboBox RequestEncodingComboBox
{
get
{
return this._RequestEncodingComboBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._RequestEncodingComboBox = value;
}
}
internal virtual CheckBox PreAuthWSSECheckBox
{
get
{
return this._PreAuthWSSECheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckedChanged);
if (this._PreAuthWSSECheckBox != null)
this._PreAuthWSSECheckBox.CheckedChanged -= eventHandler;
this._PreAuthWSSECheckBox = value;
if (this._PreAuthWSSECheckBox == null)
return;
this._PreAuthWSSECheckBox.CheckedChanged += eventHandler;
}
}
internal virtual Label Label7
{
get
{
return this._Label7;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label7 = value;
}
}
internal virtual ComboBox CredentialEncodingComboBox
{
get
{
return this._CredentialEncodingComboBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CredentialEncodingComboBox = value;
}
}
internal virtual TabPage ProxyTabPage
{
get
{
return this._ProxyTabPage;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ProxyTabPage = value;
}
}
internal virtual CheckBox NotReqDeflateCheckBox
{
get
{
return this._NotReqDeflateCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._NotReqDeflateCheckBox = value;
}
}
internal virtual CheckBox UseDefaultCredentialCheckBox
{
get
{
return this._UseDefaultCredentialCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckedChanged);
if (this._UseDefaultCredentialCheckBox != null)
this._UseDefaultCredentialCheckBox.CheckedChanged -= eventHandler;
this._UseDefaultCredentialCheckBox = value;
if (this._UseDefaultCredentialCheckBox == null)
return;
this._UseDefaultCredentialCheckBox.CheckedChanged += eventHandler;
}
}
internal virtual CheckBox NotExpect100CheckBox
{
get
{
return this._NotExpect100CheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._NotExpect100CheckBox = value;
}
}
internal virtual TabPage TimeoutTabPage
{
get
{
return this._TimeoutTabPage;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._TimeoutTabPage = value;
}
}
internal virtual ComboBox ConnectionTimeoutComboBox
{
get
{
return this._ConnectionTimeoutComboBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ConnectionTimeoutComboBox = value;
}
}
internal virtual ComboBox StreamTimeoutComboBox
{
get
{
return this._StreamTimeoutComboBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._StreamTimeoutComboBox = value;
}
}
internal virtual Label Label11
{
get
{
return this._Label11;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label11 = value;
}
}
internal virtual Label Label10
{
get
{
return this._Label10;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label10 = value;
}
}
internal virtual RadioButton NoProxyRadio
{
get
{
return this._NoProxyRadio;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckedChanged);
if (this._NoProxyRadio != null)
this._NoProxyRadio.CheckedChanged -= eventHandler;
this._NoProxyRadio = value;
if (this._NoProxyRadio == null)
return;
this._NoProxyRadio.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton SpecifyProxyRadio
{
get
{
return this._SpecifyProxyRadio;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckedChanged);
if (this._SpecifyProxyRadio != null)
this._SpecifyProxyRadio.CheckedChanged -= eventHandler;
this._SpecifyProxyRadio = value;
if (this._SpecifyProxyRadio == null)
return;
this._SpecifyProxyRadio.CheckedChanged += eventHandler;
}
}
internal virtual RadioButton DefaultProxyRadio
{
get
{
return this._DefaultProxyRadio;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckedChanged);
if (this._DefaultProxyRadio != null)
this._DefaultProxyRadio.CheckedChanged -= eventHandler;
this._DefaultProxyRadio = value;
if (this._DefaultProxyRadio == null)
return;
this._DefaultProxyRadio.CheckedChanged += eventHandler;
}
}
internal virtual CheckBox ProxyBypassLocalCheckBox
{
get
{
return this._ProxyBypassLocalCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ProxyBypassLocalCheckBox = value;
}
}
internal virtual TextBox ProxyURITextBox
{
get
{
return this._ProxyURITextBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ProxyURITextBox = value;
}
}
internal virtual Label Label15
{
get
{
return this._Label15;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label15 = value;
}
}
internal virtual Label Label14
{
get
{
return this._Label14;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label14 = value;
}
}
internal virtual Label Label13
{
get
{
return this._Label13;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label13 = value;
}
}
internal virtual Label Label12
{
get
{
return this._Label12;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label12 = value;
}
}
internal virtual TextBox ProxyPasswordTextBox
{
get
{
return this._ProxyPasswordTextBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ProxyPasswordTextBox = value;
}
}
internal virtual TextBox ProxyUsernameTextBox
{
get
{
return this._ProxyUsernameTextBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ProxyUsernameTextBox = value;
}
}
internal virtual TextBox ProxyBypassListTextBox
{
get
{
return this._ProxyBypassListTextBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ProxyBypassListTextBox = value;
}
}
internal virtual CheckBox ProxyUseDefaultCredential
{
get
{
return this._ProxyUseDefaultCredential;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckedChanged);
if (this._ProxyUseDefaultCredential != null)
this._ProxyUseDefaultCredential.CheckedChanged -= eventHandler;
this._ProxyUseDefaultCredential = value;
if (this._ProxyUseDefaultCredential == null)
return;
this._ProxyUseDefaultCredential.CheckedChanged += eventHandler;
}
}
internal virtual CheckBox DontUpdatePropertyCheckBox
{
get
{
return this._DontUpdatePropertyCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._DontUpdatePropertyCheckBox = value;
}
}
internal virtual CheckBox FullUriDestCheckBox
{
get
{
return this._FullUriDestCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._FullUriDestCheckBox = value;
}
}
internal virtual Label Label16
{
get
{
return this._Label16;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label16 = value;
}
}
internal virtual ComboBox UploadFilenameNormalizationComboBox
{
get
{
return this._UploadFilenameNormalizationComboBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._UploadFilenameNormalizationComboBox = value;
}
}
internal virtual ComboBox DownloadFilenameNormalizationComboBox
{
get
{
return this._DownloadFilenameNormalizationComboBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._DownloadFilenameNormalizationComboBox = value;
}
}
internal virtual Label Label17
{
get
{
return this._Label17;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label17 = value;
}
}
internal virtual CheckBox CheckBoxAuthWSSE
{
get
{
return this._CheckBoxAuthWSSE;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBoxAuthWSSE = value;
}
}
internal virtual CheckBox CheckBoxAuthNegotiate
{
get
{
return this._CheckBoxAuthNegotiate;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBoxAuthNegotiate = value;
}
}
internal virtual CheckBox CheckBoxAuthKerberos
{
get
{
return this._CheckBoxAuthKerberos;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBoxAuthKerberos = value;
}
}
internal virtual CheckBox CheckBoxAuthNTLM
{
get
{
return this._CheckBoxAuthNTLM;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBoxAuthNTLM = value;
}
}
internal virtual CheckBox CheckBoxAuthDigest
{
get
{
return this._CheckBoxAuthDigest;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBoxAuthDigest = value;
}
}
internal virtual CheckBox CheckBoxAuthBasic
{
get
{
return this._CheckBoxAuthBasic;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBoxAuthBasic = value;
}
}
internal virtual GroupBox GroupBoxAuthMethods
{
get
{
return this._GroupBoxAuthMethods;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._GroupBoxAuthMethods = value;
}
}
internal virtual Label Label8
{
get
{
return this._Label8;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label8 = value;
}
}
internal virtual ComboBox UploadCompressionComboBox
{
get
{
return this._UploadCompressionComboBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._UploadCompressionComboBox = value;
}
}
internal virtual CheckBox NotVeryfyRange
{
get
{
return this._NotVeryfyRange;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._NotVeryfyRange = value;
}
}
internal virtual CheckBox RedirectionCollectionOnly
{
get
{
return this._RedirectionCollectionOnly;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._RedirectionCollectionOnly = value;
}
}
internal virtual TabPage TabPage1
{
get
{
return this._TabPage1;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._TabPage1 = value;
}
}
internal virtual Label Label9
{
get
{
return this._Label9;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label9 = value;
}
}
internal virtual Label Label18
{
get
{
return this._Label18;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label18 = value;
}
}
internal virtual ComboBox SplitSizeComboBox
{
get
{
return this._SplitSizeComboBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._SplitSizeComboBox = value;
}
}
internal virtual CheckBox AutoSplitCheckBox
{
get
{
return this._AutoSplitCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckedChanged);
if (this._AutoSplitCheckBox != null)
this._AutoSplitCheckBox.CheckedChanged -= eventHandler;
this._AutoSplitCheckBox = value;
if (this._AutoSplitCheckBox == null)
return;
this._AutoSplitCheckBox.CheckedChanged += eventHandler;
}
}
internal virtual Label Label19
{
get
{
return this._Label19;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label19 = value;
}
}
internal virtual TextBox EncryptKeyTextBox
{
get
{
return this._EncryptKeyTextBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._EncryptKeyTextBox = value;
}
}
internal virtual CheckBox EncryptionCheck
{
get
{
return this._EncryptionCheck;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.CheckedChanged);
if (this._EncryptionCheck != null)
this._EncryptionCheck.CheckedChanged -= eventHandler;
this._EncryptionCheck = value;
if (this._EncryptionCheck == null)
return;
this._EncryptionCheck.CheckedChanged += eventHandler;
}
}
internal virtual CheckBox CheckBoxAuthPassport
{
get
{
return this._CheckBoxAuthPassport;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBoxAuthPassport = value;
}
}
internal virtual Label Label20
{
get
{
return this._Label20;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._Label20 = value;
}
}
internal virtual ComboBox ComboBoxEscapeString
{
get
{
return this._ComboBoxEscapeString;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ComboBoxEscapeString = value;
}
}
internal virtual GroupBox GroupBoxTLS
{
get
{
return this._GroupBoxTLS;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._GroupBoxTLS = value;
}
}
internal virtual CheckBox CheckBoxTLS12
{
get
{
return this._CheckBoxTLS12;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBoxTLS12 = value;
}
}
internal virtual CheckBox CheckBoxTLS11
{
get
{
return this._CheckBoxTLS11;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBoxTLS11 = value;
}
}
internal virtual CheckBox CheckBoxTLS10
{
get
{
return this._CheckBoxTLS10;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBoxTLS10 = value;
}
}
internal virtual CheckBox CheckBoxSSL30
{
get
{
return this._CheckBoxSSL30;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._CheckBoxSSL30 = value;
}
}
internal virtual CheckBox HideUnencDirCheckBox
{
get
{
return this._HideUnencDirCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._HideUnencDirCheckBox = value;
}
}
internal virtual CheckBox HideUnencFileCheckBox
{
get
{
return this._HideUnencFileCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._HideUnencFileCheckBox = value;
}
}
internal virtual Button SelectClientCertButton
{
get
{
return this._SelectClientCertButton;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.SelectClientCertButton_Click);
if (this._SelectClientCertButton != null)
this._SelectClientCertButton.Click -= eventHandler;
this._SelectClientCertButton = value;
if (this._SelectClientCertButton == null)
return;
this._SelectClientCertButton.Click += eventHandler;
}
}
internal virtual ListBox ClientCertificateListBox
{
get
{
return this._ClientCertificateListBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._ClientCertificateListBox = value;
}
}
internal virtual GroupBox GroupBox1
{
get
{
return this._GroupBox1;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._GroupBox1 = value;
}
}
internal virtual CheckBox RequestWithoutLastSlash
{
get
{
return this._RequestWithoutLastSlash;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._RequestWithoutLastSlash = value;
}
}
internal virtual CheckBox DisableUploadResumeCheckBox
{
get
{
return this._DisableUploadResumeCheckBox;
}
[MethodImpl(MethodImplOptions.Synchronized)] set
{
this._DisableUploadResumeCheckBox = value;
}
}
private void ConnectionSettingForm_Load(object sender, EventArgs e)
{
this.Icon = ConnectionSetting.GetDefaultFavicon();
List<string> stringList = new List<string>();
EncodingInfo[] encodings = Encoding.GetEncodings();
int index = 0;
while (index < encodings.Length)
{
EncodingInfo encodingInfo = encodings[index];
try
{
stringList.Add(encodingInfo.Name);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
ProjectData.ClearProjectError();
}
checked { ++index; }
}
string[] array = new string[checked (stringList.Count - 1 + 1)];
stringList.CopyTo(array);
this.RequestEncodingComboBox.Items.AddRange((object[]) array);
this.ResponseEncodingComboBox.Items.AddRange((object[]) array);
this.CredentialEncodingComboBox.Items.AddRange((object[]) array);
this.DownloadFilenameNormalizationComboBox.Items.AddRange((object[]) System.Enum.GetNames(typeof (UCSNormalization)));
this.UploadFilenameNormalizationComboBox.Items.AddRange((object[]) System.Enum.GetNames(typeof (UCSNormalization)));
this.UploadCompressionComboBox.Items.AddRange((object[]) new string[3]
{
"None",
"GZip",
"Deflate"
});
string[] strArray = new string[11]
{
"1",
"2",
"5",
"10",
"20",
"30",
"60",
"120",
"300",
"600",
"1800"
};
this.ConnectionTimeoutComboBox.Items.AddRange((object[]) strArray);
this.StreamTimeoutComboBox.Items.AddRange((object[]) strArray);
this.SplitSizeComboBox.Items.AddRange((object[]) new string[9]
{
"1",
"2",
"5",
"10",
"20",
"50",
"100",
"200",
"500"
});
ConnectionSetting connectionSetting = (ConnectionSetting) this.Tag ?? new ConnectionSetting();
this.SettingNameTextBox.Text = connectionSetting.Name;
this.URITextBox.Text = (object) connectionSetting.TargetUri != null ? connectionSetting.TargetUri.ToString() : "http://";
this.UseDefaultCredentialCheckBox.Checked = connectionSetting.UseDefaultCredential;
this.DontSaveCheckBox.Checked = connectionSetting.DontSave;
if (!this.DontSaveCheckBox.Checked)
{
this.UserNameTextBox.Text = connectionSetting.PersistUserName;
this.PasswordTextBox.Text = connectionSetting.PersistPassword;
}
switch (connectionSetting.Proxy)
{
case ProxyType.Specify:
this.SpecifyProxyRadio.Checked = true;
this.ProxyURITextBox.Text = connectionSetting.ProxyUri.ToString();
this.ProxyBypassListTextBox.Text = string.Join("; ", connectionSetting.ProxyByPassList);
this.ProxyBypassLocalCheckBox.Checked = connectionSetting.ProxyByPassLocal;
this.ProxyUseDefaultCredential.Checked = connectionSetting.ProxyUseDefaultCredential;
this.ProxyUsernameTextBox.Text = connectionSetting.ProxyUserName;
this.ProxyPasswordTextBox.Text = connectionSetting.ProxyPassword;
break;
case ProxyType.NoProxy:
this.NoProxyRadio.Checked = true;
break;
default:
this.DefaultProxyRadio.Checked = true;
break;
}
this.PreAuthBasicCheckBox.Checked = connectionSetting.UsePreAuthentication_Basic;
this.PreAuthWSSECheckBox.Checked = connectionSetting.UsePreAuthentication_WSSE;
this.certlist.AddRange((IEnumerable<string>) connectionSetting.ClientCertificates.ToArray());
this.UpdateClientcertListBox();
if (connectionSetting.AuthModules.Length == 0)
{
this.CheckBoxAuthBasic.Checked = true;
this.CheckBoxAuthDigest.Checked = true;
this.CheckBoxAuthNTLM.Checked = true;
this.CheckBoxAuthKerberos.Checked = true;
this.CheckBoxAuthNegotiate.Checked = true;
this.CheckBoxAuthWSSE.Checked = true;
this.CheckBoxAuthPassport.Checked = true;
}
else
{
string lowerInvariant = string.Join(",", connectionSetting.AuthModules).ToLowerInvariant();
this.CheckBoxAuthBasic.Checked = lowerInvariant.Contains("basic");
this.CheckBoxAuthDigest.Checked = lowerInvariant.Contains("digest");
this.CheckBoxAuthNTLM.Checked = lowerInvariant.Contains("ntlm");
this.CheckBoxAuthKerberos.Checked = lowerInvariant.Contains("kerberos");
this.CheckBoxAuthNegotiate.Checked = lowerInvariant.Contains("negotiate");
this.CheckBoxAuthWSSE.Checked = lowerInvariant.Contains("wsse");
this.CheckBoxAuthPassport.Checked = lowerInvariant.Contains("passport");
}
this.CheckBoxSSL30.Checked = (connectionSetting.DisableTlsVersions & SslProtocols.Ssl3) != SslProtocols.None;
this.CheckBoxTLS10.Checked = (connectionSetting.DisableTlsVersions & SslProtocols.Tls) != SslProtocols.None;
this.CheckBoxTLS11.Checked = (connectionSetting.DisableTlsVersions & SslProtocols.Tls11) != SslProtocols.None;
this.CheckBoxTLS12.Checked = (connectionSetting.DisableTlsVersions & SslProtocols.Tls12) != SslProtocols.None;
this.RequestEncodingComboBox.Text = connectionSetting.URIRequestEncoding;
this.ResponseEncodingComboBox.Text = connectionSetting.URIResponseEncoding;
this.CredentialEncodingComboBox.Text = connectionSetting.CredentialEncoding;
this.DownloadFilenameNormalizationComboBox.SelectedItem = (object) connectionSetting.DownloadFilenameNormalization.ToString();
this.UploadFilenameNormalizationComboBox.SelectedItem = (object) connectionSetting.UploadFilenameNormalization.ToString();
this.NotReqGzipCheckBox.Checked = connectionSetting.DontRequestGzip;
this.NotReqDeflateCheckBox.Checked = connectionSetting.DontRequestDeflate;
this.SendTranslateFCheckBox.Checked = connectionSetting.RequestTranslatef;
this.NotExpect100CheckBox.Checked = connectionSetting.DontExpect100;
this.EmptyPUTCheckBox.Checked = connectionSetting.SendEmptyPUT;
this.DontUpdatePropertyCheckBox.Checked = connectionSetting.DontUpdateProperty;
this.FullUriDestCheckBox.Checked = connectionSetting.UseFullUriInDestinationHeader;
this.NotVeryfyRange.Checked = connectionSetting.DontVerifyContentRange;
this.RedirectionCollectionOnly.Checked = connectionSetting.RedirectionCollectionOnly;
this.UploadCompressionComboBox.Text = connectionSetting.UploadCompression;
this.RequestWithoutLastSlash.Checked = connectionSetting.RemoveLastSlashOnMKCOL;
this.DisableUploadResumeCheckBox.Checked = connectionSetting.DisableUploadResume;
ComboBox connectionTimeoutComboBox = this.ConnectionTimeoutComboBox;
double num = (double) connectionSetting.ConnectTimeout / 1000.0;
string str1 = num.ToString();
connectionTimeoutComboBox.Text = str1;
ComboBox streamTimeoutComboBox = this.StreamTimeoutComboBox;
num = (double) connectionSetting.ReadWriteTimeout / 1000.0;
string str2 = num.ToString();
streamTimeoutComboBox.Text = str2;
this.EncryptionCheck.Checked = connectionSetting.UseEncryption;
this.EncryptKeyTextBox.Text = connectionSetting.EncryptionKey;
this.AutoSplitCheckBox.Checked = connectionSetting.AutoSplit;
this.SplitSizeComboBox.Text = connectionSetting.SplitSizeMB.ToString();
this.ComboBoxEscapeString.Text = connectionSetting.EscapeString;
this.HideUnencFileCheckBox.Checked = connectionSetting.HideUnencryptedFile;
this.HideUnencDirCheckBox.Checked = connectionSetting.HideUnencryptedDirectory;
this.UpdateEnabled();
}
private void TextBox_TextChanged(object sender, EventArgs e)
{
this.UpdateEnabled();
}
private void CheckedChanged(object sender, EventArgs e)
{
this.UpdateEnabled();
}
private void TestButton_Click(object sender, EventArgs e)
{
ConnectionSettingBase connectionSettingBase = (ConnectionSettingBase) this.MakeSetting();
if (connectionSettingBase == null)
return;
int num = (int) new ConnectionTestForm()
{
TargetUri = this.URITextBox.Text,
Username = this.UserNameTextBox.Text,
Password = this.PasswordTextBox.Text,
Setting = ((ConnectionSetting) connectionSettingBase)
}.ShowDialog();
}
private void OKButton_Click(object sender, EventArgs e)
{
ConnectionSetting connectionSetting = this.MakeSetting();
if (connectionSetting == null)
return;
this.Tag = (object) connectionSetting;
this.DialogResult = DialogResult.OK;
}
private ConnectionSetting MakeSetting()
{
Uri result1 = (Uri) null;
if (!Uri.TryCreate(this.URITextBox.Text, UriKind.Absolute, out result1))
{
int num = (int) MessageBox.Show("Enter valid URI.");
this.URITextBox.Focus();
return (ConnectionSetting) null;
}
if (Operators.CompareString(result1.Scheme, Uri.UriSchemeHttp, false) != 0 && Operators.CompareString(result1.Scheme, Uri.UriSchemeHttps, false) != 0)
{
int num = (int) MessageBox.Show("Unsupported scheme");
this.URITextBox.Focus();
return (ConnectionSetting) null;
}
if (result1.UserInfo.Length > 0 || result1.Query.Length > 0 || result1.Fragment.Length > 0)
{
int num = (int) MessageBox.Show("Enter valid URI.\r\nuserinfo, query, or fragment are not supported on this scheme.");
this.URITextBox.Focus();
return (ConnectionSetting) null;
}
if (result1.Host.Length == 0)
{
int num = (int) MessageBox.Show("Enter valid URI.\r\nhost are required on this scheme.");
this.URITextBox.Focus();
return (ConnectionSetting) null;
}
int result2;
ConnectionSetting connectionSetting1;
if (!this.UseDefaultCredentialCheckBox.Checked)
{
if (!this.DontSaveCheckBox.Checked)
{
try
{
result2 = this.UserNameTextBox.Text.IndexOf("\\");
NetworkCredential networkCredential = result2 < 0 ? new NetworkCredential(this.UserNameTextBox.Text, this.PasswordTextBox.Text) : new NetworkCredential(this.UserNameTextBox.Text.Substring(checked (result2 + 1)), this.PasswordTextBox.Text, this.UserNameTextBox.Text.Substring(0, result2));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
int num = (int) MessageBox.Show("Enter valid username and password.");
this.UserNameTextBox.Focus();
connectionSetting1 = (ConnectionSetting) null;
ProjectData.ClearProjectError();
goto label_78;
}
}
}
if (!int.TryParse(this.ConnectionTimeoutComboBox.Text, out result2))
{
int num = (int) MessageBox.Show("Enter valid number.");
this.ConnectionTimeoutComboBox.Focus();
return (ConnectionSetting) null;
}
if (!int.TryParse(this.StreamTimeoutComboBox.Text, out result2))
{
int num = (int) MessageBox.Show("Enter valid number.");
this.StreamTimeoutComboBox.Focus();
return (ConnectionSetting) null;
}
if (!int.TryParse(this.SplitSizeComboBox.Text, out result2))
{
if (this.AutoSplitCheckBox.Checked)
{
int num = (int) MessageBox.Show("Enter valid number.");
this.SplitSizeComboBox.Focus();
return (ConnectionSetting) null;
}
this.SplitSizeComboBox.SelectedIndex = 0;
}
ConnectionSetting connectionSetting2 = new ConnectionSetting();
connectionSetting2.Name = this.SettingNameTextBox.Text;
connectionSetting2.TargetUri = result1;
connectionSetting2.UseDefaultCredential = this.UseDefaultCredentialCheckBox.Checked;
if (connectionSetting2.UseDefaultCredential)
connectionSetting2.DontSave = true;
else
connectionSetting2.DontSave = this.DontSaveCheckBox.Checked;
if (connectionSetting2.DontSave)
connectionSetting2.SetUserPass("", "");
else
connectionSetting2.SetUserPass(this.UserNameTextBox.Text, this.PasswordTextBox.Text);
connectionSetting2.PersistUserPass();
connectionSetting2.ClientCertificates.Clear();
connectionSetting2.ClientCertificates.AddRange((IEnumerable<string>) this.certlist.ToArray());
connectionSetting2.UsePreAuthentication_Basic = this.PreAuthBasicCheckBox.Checked;
connectionSetting2.UsePreAuthentication_WSSE = this.PreAuthWSSECheckBox.Checked;
List<string> stringList = new List<string>();
if (this.CheckBoxAuthBasic.Checked)
stringList.Add("Basic");
if (this.CheckBoxAuthDigest.Checked)
stringList.Add("Digest");
if (this.CheckBoxAuthNTLM.Checked)
stringList.Add("NTLM");
if (this.CheckBoxAuthKerberos.Checked)
stringList.Add("Kerberos");
if (this.CheckBoxAuthNegotiate.Checked)
stringList.Add("Negotiate");
if (this.CheckBoxAuthWSSE.Checked)
stringList.Add("WSSE");
if (this.CheckBoxAuthPassport.Checked)
stringList.Add("Passport");
if (stringList.Count == 0)
connectionSetting2.AuthModules = new string[1]
{
"None"
};
else
connectionSetting2.AuthModules = stringList.ToArray();
connectionSetting2.DisableTlsVersions = SslProtocols.None;
if (this.CheckBoxSSL30.Checked)
connectionSetting2.DisableTlsVersions = connectionSetting2.DisableTlsVersions | SslProtocols.Ssl3;
if (this.CheckBoxTLS10.Checked)
connectionSetting2.DisableTlsVersions = connectionSetting2.DisableTlsVersions | SslProtocols.Tls;
if (this.CheckBoxTLS11.Checked)
connectionSetting2.DisableTlsVersions = connectionSetting2.DisableTlsVersions | SslProtocols.Tls11;
if (this.CheckBoxTLS12.Checked)
connectionSetting2.DisableTlsVersions = connectionSetting2.DisableTlsVersions | SslProtocols.Tls12;
try
{
Encoding.GetEncoding(this.RequestEncodingComboBox.Text);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
int num = (int) MessageBox.Show("Enter valid encoding.");
this.RequestEncodingComboBox.Focus();
connectionSetting1 = (ConnectionSetting) null;
ProjectData.ClearProjectError();
goto label_78;
}
try
{
Encoding.GetEncoding(this.ResponseEncodingComboBox.Text);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
int num = (int) MessageBox.Show("Enter valid encoding.");
this.ResponseEncodingComboBox.Focus();
connectionSetting1 = (ConnectionSetting) null;
ProjectData.ClearProjectError();
goto label_78;
}
try
{
Encoding.GetEncoding(this.CredentialEncodingComboBox.Text);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
int num = (int) MessageBox.Show("Enter valid encoding.");
this.CredentialEncodingComboBox.Focus();
connectionSetting1 = (ConnectionSetting) null;
ProjectData.ClearProjectError();
goto label_78;
}
connectionSetting2.URIRequestEncoding = this.RequestEncodingComboBox.Text;
connectionSetting2.URIResponseEncoding = this.ResponseEncodingComboBox.Text;
connectionSetting2.CredentialEncoding = this.CredentialEncodingComboBox.Text;
connectionSetting2.DownloadFilenameNormalization = (UCSNormalization) Conversions.ToInteger(System.Enum.Parse(typeof (UCSNormalization), this.DownloadFilenameNormalizationComboBox.SelectedItem.ToString()));
connectionSetting2.UploadFilenameNormalization = (UCSNormalization) Conversions.ToInteger(System.Enum.Parse(typeof (UCSNormalization), this.UploadFilenameNormalizationComboBox.SelectedItem.ToString()));
connectionSetting2.DontRequestGzip = this.NotReqGzipCheckBox.Checked;
connectionSetting2.DontRequestDeflate = this.NotReqDeflateCheckBox.Checked;
connectionSetting2.RequestTranslatef = this.SendTranslateFCheckBox.Checked;
connectionSetting2.DontExpect100 = this.NotExpect100CheckBox.Checked;
connectionSetting2.SendEmptyPUT = this.EmptyPUTCheckBox.Checked;
connectionSetting2.DontUpdateProperty = this.DontUpdatePropertyCheckBox.Checked;
connectionSetting2.UseFullUriInDestinationHeader = this.FullUriDestCheckBox.Checked;
connectionSetting2.DontVerifyContentRange = this.NotVeryfyRange.Checked;
connectionSetting2.RedirectionCollectionOnly = this.RedirectionCollectionOnly.Checked;
connectionSetting2.UploadCompression = this.UploadCompressionComboBox.Text.Trim();
connectionSetting2.RemoveLastSlashOnMKCOL = this.RequestWithoutLastSlash.Checked;
connectionSetting2.DisableUploadResume = this.DisableUploadResumeCheckBox.Checked;
Uri result3 = (Uri) null;
string[] strArray = new string[0];
if (this.SpecifyProxyRadio.Checked)
{
if (!Uri.TryCreate(this.ProxyURITextBox.Text, UriKind.Absolute, out result3))
{
int num = (int) MessageBox.Show("Enter valid Proxy URI.");
this.ProxyURITextBox.Focus();
return (ConnectionSetting) null;
}
if (Operators.CompareString(result3.Scheme, Uri.UriSchemeHttp, false) != 0 && Operators.CompareString(result3.Scheme, Uri.UriSchemeHttps, false) != 0)
{
int num = (int) MessageBox.Show("Enter valid Proxy URI.\r\nOnly http and https are supported.");
this.ProxyURITextBox.Focus();
return (ConnectionSetting) null;
}
if (result3.UserInfo.Length <= 0 && result3.PathAndQuery.Length <= 1)
{
if (result3.Fragment.Length <= 0)
{
WebProxy webProxy;
try
{
webProxy = new WebProxy(result3);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
int num = (int) MessageBox.Show("Enter valid Proxy URI.");
this.ProxyURITextBox.Focus();
connectionSetting1 = (ConnectionSetting) null;
ProjectData.ClearProjectError();
goto label_78;
}
try
{
strArray = this.ProxyBypassListTextBox.Text.Split(new char[2]
{
' ',
','
}, StringSplitOptions.RemoveEmptyEntries);
webProxy.BypassList = strArray;
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
int num = (int) MessageBox.Show("Enter valid Proxy Bypass list.");
this.ProxyBypassListTextBox.Focus();
connectionSetting1 = (ConnectionSetting) null;
ProjectData.ClearProjectError();
goto label_78;
}
if (this.ProxyUseDefaultCredential.Checked)
{
try
{
result2 = this.ProxyUsernameTextBox.Text.IndexOf("\\");
NetworkCredential networkCredential = result2 < 0 ? new NetworkCredential(this.ProxyUsernameTextBox.Text, this.ProxyPasswordTextBox.Text) : new NetworkCredential(this.ProxyUsernameTextBox.Text.Substring(checked (result2 + 1)), this.ProxyPasswordTextBox.Text, this.ProxyUsernameTextBox.Text.Substring(0, result2));
webProxy.Credentials = (ICredentials) networkCredential;
goto label_72;
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
int num = (int) MessageBox.Show("Enter valid Proxy username and password.");
this.ProxyBypassListTextBox.Focus();
connectionSetting1 = (ConnectionSetting) null;
ProjectData.ClearProjectError();
goto label_78;
}
}
else
goto label_72;
}
}
int num1 = (int) MessageBox.Show("Enter valid URI.\r\nuserinfo, path, query, or fragment are not supported.");
this.ProxyURITextBox.Focus();
return (ConnectionSetting) null;
}
label_72:
if (this.DefaultProxyRadio.Checked)
connectionSetting2.Proxy = ProxyType.Default;
else if (this.SpecifyProxyRadio.Checked)
{
connectionSetting2.Proxy = ProxyType.Specify;
connectionSetting2.ProxyUri = result3;
connectionSetting2.ProxyByPassList = strArray;
connectionSetting2.ProxyByPassLocal = this.ProxyBypassLocalCheckBox.Checked;
connectionSetting2.ProxyUseDefaultCredential = this.ProxyUseDefaultCredential.Checked;
connectionSetting2.ProxyUserName = this.ProxyUsernameTextBox.Text;
connectionSetting2.ProxyPassword = this.ProxyPasswordTextBox.Text;
}
else
connectionSetting2.Proxy = ProxyType.NoProxy;
connectionSetting2.ConnectTimeout = checked (int.Parse(this.ConnectionTimeoutComboBox.Text) * 1000);
connectionSetting2.ReadWriteTimeout = checked (int.Parse(this.StreamTimeoutComboBox.Text) * 1000);
connectionSetting2.UseEncryption = this.EncryptionCheck.Checked;
connectionSetting2.EncryptionKey = this.EncryptKeyTextBox.Text;
connectionSetting2.AutoSplit = this.AutoSplitCheckBox.Checked;
connectionSetting2.SplitSizeMB = int.Parse(this.SplitSizeComboBox.Text);
connectionSetting2.EscapeString = this.ComboBoxEscapeString.Text;
connectionSetting2.HideUnencryptedFile = this.HideUnencFileCheckBox.Checked;
connectionSetting2.HideUnencryptedDirectory = this.HideUnencDirCheckBox.Checked;
return connectionSetting2;
label_78:
return connectionSetting1;
}
public void UpdateEnabled()
{
if (this.UseDefaultCredentialCheckBox.Checked)
{
this.DontSaveCheckBox.Enabled = false;
this.UserNameTextBox.Enabled = false;
this.PasswordTextBox.Enabled = false;
this.PreAuthBasicCheckBox.Enabled = false;
this.PreAuthWSSECheckBox.Enabled = false;
this.GroupBoxAuthMethods.Enabled = true;
}
else
{
this.DontSaveCheckBox.Enabled = true;
if (this.DontSaveCheckBox.Checked)
{
this.UserNameTextBox.Enabled = false;
this.PasswordTextBox.Enabled = false;
}
else
{
this.UserNameTextBox.Enabled = true;
this.PasswordTextBox.Enabled = true;
}
this.PreAuthBasicCheckBox.Enabled = true;
this.PreAuthWSSECheckBox.Enabled = true;
if (this.PreAuthBasicCheckBox.Checked || this.PreAuthWSSECheckBox.Checked)
this.GroupBoxAuthMethods.Enabled = false;
else
this.GroupBoxAuthMethods.Enabled = true;
}
if (this.DefaultProxyRadio.Checked)
{
this.ProxyURITextBox.Enabled = false;
this.ProxyBypassLocalCheckBox.Enabled = false;
this.ProxyBypassListTextBox.Enabled = false;
this.ProxyUseDefaultCredential.Enabled = false;
this.ProxyUsernameTextBox.Enabled = false;
this.ProxyPasswordTextBox.Enabled = false;
}
else if (this.SpecifyProxyRadio.Checked)
{
this.ProxyURITextBox.Enabled = true;
this.ProxyBypassLocalCheckBox.Enabled = true;
this.ProxyBypassListTextBox.Enabled = true;
this.ProxyUseDefaultCredential.Enabled = true;
if (this.ProxyUseDefaultCredential.Checked)
{
this.ProxyUsernameTextBox.Enabled = false;
this.ProxyPasswordTextBox.Enabled = false;
}
else
{
this.ProxyUsernameTextBox.Enabled = true;
this.ProxyPasswordTextBox.Enabled = true;
}
}
else
{
this.ProxyURITextBox.Enabled = false;
this.ProxyBypassLocalCheckBox.Enabled = false;
this.ProxyBypassListTextBox.Enabled = false;
this.ProxyUseDefaultCredential.Enabled = false;
this.ProxyUsernameTextBox.Enabled = false;
this.ProxyPasswordTextBox.Enabled = false;
}
this.EncryptKeyTextBox.Enabled = this.EncryptionCheck.Checked;
this.SplitSizeComboBox.Enabled = this.AutoSplitCheckBox.Checked;
this.ComboBoxEscapeString.Enabled = this.EncryptionCheck.Checked || this.AutoSplitCheckBox.Checked;
this.HideUnencFileCheckBox.Enabled = this.EncryptionCheck.Checked;
this.HideUnencDirCheckBox.Enabled = this.EncryptionCheck.Checked;
Uri result = (Uri) null;
if (!Uri.TryCreate(this.URITextBox.Text, UriKind.Absolute, out result))
{
this.OKButton.Enabled = false;
this.TestButton.Enabled = false;
}
else
{
if (this.SettingNameTextBox.Text.Length > 0)
this.OKButton.Enabled = true;
else
this.OKButton.Enabled = false;
this.TestButton.Enabled = true;
}
if ((object) result != null && Operators.CompareString(result.Scheme, Uri.UriSchemeHttps, false) == 0)
{
this.GroupBoxTLS.Enabled = true;
this.SelectClientCertButton.Enabled = true;
}
else
{
this.GroupBoxTLS.Enabled = false;
this.SelectClientCertButton.Enabled = false;
}
this.CheckBoxSSL30.Enabled = (FsBase.AvailableTlss() & SslProtocols.Ssl3) != SslProtocols.None;
this.CheckBoxTLS10.Enabled = (FsBase.AvailableTlss() & SslProtocols.Tls) != SslProtocols.None;
this.CheckBoxTLS11.Enabled = (FsBase.AvailableTlss() & SslProtocols.Tls11) != SslProtocols.None;
this.CheckBoxTLS12.Enabled = (FsBase.AvailableTlss() & SslProtocols.Tls12) != SslProtocols.None;
}
private void UpdateClientcertListBox()
{
this.ClientCertificateListBox.BeginUpdate();
try
{
this.ClientCertificateListBox.Items.Clear();
X509Store x509Store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
x509Store.Open(OpenFlags.ReadOnly);
try
{
int num1 = 0;
int num2 = checked (this.certlist.Count - 1);
int index1 = num1;
while (index1 <= num2)
{
int num3 = 0;
int num4 = checked (x509Store.Certificates.Count - 1);
int index2 = num3;
while (index2 <= num4)
{
if (Operators.CompareString(this.certlist[index1], x509Store.Certificates[index2].Thumbprint, false) == 0)
{
X509Certificate2 certificate = x509Store.Certificates[index2];
this.ClientCertificateListBox.Items.Add((object) (certificate.Subject + " | " + certificate.NotAfter.ToString() + " | " + certificate.Thumbprint));
break;
}
checked { ++index2; }
}
checked { ++index1; }
}
}
finally
{
x509Store.Close();
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
ProjectData.ClearProjectError();
}
this.ClientCertificateListBox.EndUpdate();
}
private void SelectClientCertButton_Click(object sender, EventArgs e)
{
List<string> stringList = new List<string>();
X509Store x509Store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
try
{
x509Store.Open(OpenFlags.OpenExistingOnly);
X509Certificate2Collection certificate2Collection = X509Certificate2UI.SelectFromCollection(x509Store.Certificates.Find(X509FindType.FindByTimeValid, (object) DateTime.Now, true), (string) null, (string) null, X509SelectionFlag.MultiSelection, this.Handle);
int num1 = 0;
int num2 = checked (certificate2Collection.Count - 1);
int index = num1;
while (index <= num2)
{
stringList.Add(certificate2Collection[index].Thumbprint);
checked { ++index; }
}
}
finally
{
x509Store.Close();
}
this.certlist.Clear();
this.certlist = stringList;
this.UpdateClientcertListBox();
}
}
}