/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     CleverComponents.InetSuite.FtpUserAccountItem ftpUserAccountItem1 = new CleverComponents.InetSuite.FtpUserAccountItem();
     this.label1            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.label3            = new System.Windows.Forms.Label();
     this.edtPort           = new System.Windows.Forms.TextBox();
     this.label4            = new System.Windows.Forms.Label();
     this.edtRootDir        = new System.Windows.Forms.TextBox();
     this.btnStart          = new System.Windows.Forms.Button();
     this.btnStop           = new System.Windows.Forms.Button();
     this.label5            = new System.Windows.Forms.Label();
     this.memLog            = new System.Windows.Forms.TextBox();
     this.ftpServer1        = new CleverComponents.InetSuite.FtpServer();
     this.ftpFileHandler1   = new CleverComponents.InetSuite.FtpFileHandler();
     this.label6            = new System.Windows.Forms.Label();
     this.label7            = new System.Windows.Forms.Label();
     this.cbUseTls          = new System.Windows.Forms.ComboBox();
     this.certificateStore1 = new CleverComponents.InetSuite.CertificateStore();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(416, 32);
     this.label1.TabIndex = 0;
     this.label1.Text     = "This is a sample FTP SSL / TLS server. You can use any SSL-enabled FTP client (su" +
                            "ch as TclFTP or SurgeFTP client to connect to this server.";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 112);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(408, 23);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Please use the \"CleverTester\" user name and \"clevertester\" password to log-in.";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 152);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(32, 23);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Port";
     //
     // edtPort
     //
     this.edtPort.Location = new System.Drawing.Point(80, 152);
     this.edtPort.Name     = "edtPort";
     this.edtPort.Size     = new System.Drawing.Size(64, 20);
     this.edtPort.TabIndex = 3;
     this.edtPort.Text     = "990";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(16, 184);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(56, 23);
     this.label4.TabIndex = 4;
     this.label4.Text     = "Root Dir";
     //
     // edtRootDir
     //
     this.edtRootDir.Location = new System.Drawing.Point(80, 184);
     this.edtRootDir.Name     = "edtRootDir";
     this.edtRootDir.Size     = new System.Drawing.Size(336, 20);
     this.edtRootDir.TabIndex = 5;
     this.edtRootDir.Text     = "C:\\CleverFtpServer\\";
     //
     // btnStart
     //
     this.btnStart.Location = new System.Drawing.Point(80, 216);
     this.btnStart.Name     = "btnStart";
     this.btnStart.TabIndex = 6;
     this.btnStart.Text     = "Start";
     this.btnStart.Click   += new System.EventHandler(this.btnStart_Click);
     //
     // btnStop
     //
     this.btnStop.Location = new System.Drawing.Point(176, 216);
     this.btnStop.Name     = "btnStop";
     this.btnStop.TabIndex = 7;
     this.btnStop.Text     = "Stop";
     this.btnStop.Click   += new System.EventHandler(this.btnStop_Click);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(16, 240);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(48, 23);
     this.label5.TabIndex = 8;
     this.label5.Text     = "Log";
     //
     // memLog
     //
     this.memLog.Location   = new System.Drawing.Point(0, 264);
     this.memLog.Multiline  = true;
     this.memLog.Name       = "memLog";
     this.memLog.ReadOnly   = true;
     this.memLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.memLog.Size       = new System.Drawing.Size(440, 136);
     this.memLog.TabIndex   = 9;
     this.memLog.Text       = "";
     //
     // ftpServer1
     //
     this.ftpServer1.CaseInsensitive = true;
     this.ftpServer1.Port            = 21;
     this.ftpServer1.ServerName      = "Clever Internet Suite FTP service";
     ftpUserAccountItem1.DisplayName = "Clever Tester";
     ftpUserAccountItem1.Password    = "******";
     ftpUserAccountItem1.UserName    = "******";
     this.ftpServer1.UserAccounts.AddRange(new CleverComponents.InetSuite.UserAccountItem[] {
         ftpUserAccountItem1
     });
     this.ftpServer1.Authenticate       += new CleverComponents.InetSuite.FtpAuthenticateEventHandler(this.ftpServer1_Authenticate);
     this.ftpServer1.CommandReceived    += new CleverComponents.InetSuite.TcpCommandEventHandler(this.ftpServer1_CommandReceived);
     this.ftpServer1.GetCertificate     += new CleverComponents.InetSuite.GetCertificateEventHandler(this.ftpServer1_GetCertificate);
     this.ftpServer1.ConnectionAccepted += new CleverComponents.InetSuite.ConnectionAcceptedEventHandler(this.ftpServer1_ConnectionAccepted);
     this.ftpServer1.Started            += new System.EventHandler(this.ftpServer1_Started);
     this.ftpServer1.ConnectionClosed   += new CleverComponents.InetSuite.ConnectionEventHandler(this.ftpServer1_ConnectionClosed);
     this.ftpServer1.ResponseSent       += new CleverComponents.InetSuite.TcpResponseEventHandler(this.ftpServer1_ResponseSent);
     this.ftpServer1.Stopped            += new System.EventHandler(this.ftpServer1_Stopped);
     //
     // ftpFileHandler1
     //
     this.ftpFileHandler1.Server = this.ftpServer1;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(16, 56);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(408, 48);
     this.label6.TabIndex = 10;
     this.label6.Text     = "This server uses self-signed server certificate to establish the SSL connection. " +
                            "In real application you will need to request a certificate from trusted issuer o" +
                            "r use your own self-signed certificate.";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(184, 152);
     this.label7.Name     = "label7";
     this.label7.TabIndex = 11;
     this.label7.Text     = "SSL / TLS Mode";
     //
     // cbUseTls
     //
     this.cbUseTls.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbUseTls.Items.AddRange(new object[] {
         "None",
         "Implicit",
         "Allow Explicit",
         "Require Explicit"
     });
     this.cbUseTls.Location = new System.Drawing.Point(296, 152);
     this.cbUseTls.Name     = "cbUseTls";
     this.cbUseTls.Size     = new System.Drawing.Size(121, 21);
     this.cbUseTls.TabIndex = 4;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 400);
     this.Controls.Add(this.cbUseTls);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.memLog);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.btnStop);
     this.Controls.Add(this.btnStart);
     this.Controls.Add(this.edtRootDir);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.edtPort);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "Form1";
     this.Text            = "Clever FTP Server";
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1               = new System.Windows.Forms.Label();
     this.label2               = new System.Windows.Forms.Label();
     this.label3               = new System.Windows.Forms.Label();
     this.edtFrom              = new System.Windows.Forms.TextBox();
     this.edtToList            = new System.Windows.Forms.TextBox();
     this.edtSubject           = new System.Windows.Forms.TextBox();
     this.label4               = new System.Windows.Forms.Label();
     this.memText              = new System.Windows.Forms.TextBox();
     this.btnNewMessage        = new System.Windows.Forms.Button();
     this.btnViewCertificates  = new System.Windows.Forms.Button();
     this.btnSign              = new System.Windows.Forms.Button();
     this.btnVerify            = new System.Windows.Forms.Button();
     this.btnEncrypt           = new System.Windows.Forms.Button();
     this.btnDecrypt           = new System.Windows.Forms.Button();
     this.btnSignEncrypt       = new System.Windows.Forms.Button();
     this.btnVerifyDecrypt     = new System.Windows.Forms.Button();
     this.cbDetachedSignature  = new System.Windows.Forms.CheckBox();
     this.cbIncludeCertificate = new System.Windows.Forms.CheckBox();
     this.openFileDialog       = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog       = new System.Windows.Forms.SaveFileDialog();
     this.label7               = new System.Windows.Forms.Label();
     this.label8               = new System.Windows.Forms.Label();
     this.sMimeMessage1        = new CleverComponents.InetSuite.SMimeMessage();
     this.certificateStore1    = new CleverComponents.InetSuite.CertificateStore();
     ((System.ComponentModel.ISupportInitialize)(this.sMimeMessage1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 72);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(64, 23);
     this.label1.TabIndex = 0;
     this.label1.Text     = "From";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 96);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(64, 23);
     this.label2.TabIndex = 1;
     this.label2.Text     = "To List";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 120);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(64, 23);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Subject";
     //
     // edtFrom
     //
     this.edtFrom.Location = new System.Drawing.Point(72, 72);
     this.edtFrom.Name     = "edtFrom";
     this.edtFrom.Size     = new System.Drawing.Size(432, 20);
     this.edtFrom.TabIndex = 3;
     this.edtFrom.Text     = "*****@*****.**";
     //
     // edtToList
     //
     this.edtToList.Location = new System.Drawing.Point(72, 96);
     this.edtToList.Name     = "edtToList";
     this.edtToList.Size     = new System.Drawing.Size(432, 20);
     this.edtToList.TabIndex = 4;
     this.edtToList.Text     = "[email protected],[email protected]";
     //
     // edtSubject
     //
     this.edtSubject.Location = new System.Drawing.Point(72, 120);
     this.edtSubject.Name     = "edtSubject";
     this.edtSubject.Size     = new System.Drawing.Size(432, 20);
     this.edtSubject.TabIndex = 5;
     this.edtSubject.Text     = "Clever SMime Message Parser Test";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 144);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(100, 23);
     this.label4.TabIndex = 6;
     this.label4.Text     = "Body";
     //
     // memText
     //
     this.memText.Location   = new System.Drawing.Point(8, 168);
     this.memText.Multiline  = true;
     this.memText.Name       = "memText";
     this.memText.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.memText.Size       = new System.Drawing.Size(496, 112);
     this.memText.TabIndex   = 8;
     this.memText.Text       = "This is SMIME test message built using Clever Message Parser";
     //
     // btnNewMessage
     //
     this.btnNewMessage.Location = new System.Drawing.Point(8, 296);
     this.btnNewMessage.Name     = "btnNewMessage";
     this.btnNewMessage.Size     = new System.Drawing.Size(96, 23);
     this.btnNewMessage.TabIndex = 14;
     this.btnNewMessage.Text     = "New Message";
     this.btnNewMessage.Click   += new System.EventHandler(this.btnNewMessage_Click);
     //
     // btnViewCertificates
     //
     this.btnViewCertificates.Location = new System.Drawing.Point(8, 328);
     this.btnViewCertificates.Name     = "btnViewCertificates";
     this.btnViewCertificates.Size     = new System.Drawing.Size(96, 23);
     this.btnViewCertificates.TabIndex = 15;
     this.btnViewCertificates.Text     = "View Certificates";
     this.btnViewCertificates.Click   += new System.EventHandler(this.btnViewCertificates_Click);
     //
     // btnSign
     //
     this.btnSign.Location = new System.Drawing.Point(112, 296);
     this.btnSign.Name     = "btnSign";
     this.btnSign.Size     = new System.Drawing.Size(75, 23);
     this.btnSign.TabIndex = 16;
     this.btnSign.Text     = "Sign...";
     this.btnSign.Click   += new System.EventHandler(this.btnSign_Click);
     //
     // btnVerify
     //
     this.btnVerify.Location = new System.Drawing.Point(112, 328);
     this.btnVerify.Name     = "btnVerify";
     this.btnVerify.Size     = new System.Drawing.Size(75, 23);
     this.btnVerify.TabIndex = 17;
     this.btnVerify.Text     = "Verify...";
     this.btnVerify.Click   += new System.EventHandler(this.btnVerify_Click);
     //
     // btnEncrypt
     //
     this.btnEncrypt.Location = new System.Drawing.Point(192, 296);
     this.btnEncrypt.Name     = "btnEncrypt";
     this.btnEncrypt.Size     = new System.Drawing.Size(75, 23);
     this.btnEncrypt.TabIndex = 18;
     this.btnEncrypt.Text     = "Encrypt...";
     this.btnEncrypt.Click   += new System.EventHandler(this.btnEncrypt_Click);
     //
     // btnDecrypt
     //
     this.btnDecrypt.Location = new System.Drawing.Point(192, 328);
     this.btnDecrypt.Name     = "btnDecrypt";
     this.btnDecrypt.Size     = new System.Drawing.Size(75, 23);
     this.btnDecrypt.TabIndex = 19;
     this.btnDecrypt.Text     = "Decrypt...";
     this.btnDecrypt.Click   += new System.EventHandler(this.btnDecrypt_Click);
     //
     // btnSignEncrypt
     //
     this.btnSignEncrypt.Location = new System.Drawing.Point(272, 296);
     this.btnSignEncrypt.Name     = "btnSignEncrypt";
     this.btnSignEncrypt.Size     = new System.Drawing.Size(96, 23);
     this.btnSignEncrypt.TabIndex = 20;
     this.btnSignEncrypt.Text     = "Sign/Encrypt...";
     this.btnSignEncrypt.Click   += new System.EventHandler(this.btnSignEncrypt_Click);
     //
     // btnVerifyDecrypt
     //
     this.btnVerifyDecrypt.Location = new System.Drawing.Point(272, 328);
     this.btnVerifyDecrypt.Name     = "btnVerifyDecrypt";
     this.btnVerifyDecrypt.Size     = new System.Drawing.Size(96, 23);
     this.btnVerifyDecrypt.TabIndex = 21;
     this.btnVerifyDecrypt.Text     = "Verify/Decrypt...";
     this.btnVerifyDecrypt.Click   += new System.EventHandler(this.btnVerifyDecrypt_Click);
     //
     // cbDetachedSignature
     //
     this.cbDetachedSignature.Checked         = true;
     this.cbDetachedSignature.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.cbDetachedSignature.Location        = new System.Drawing.Point(376, 296);
     this.cbDetachedSignature.Name            = "cbDetachedSignature";
     this.cbDetachedSignature.Size            = new System.Drawing.Size(128, 24);
     this.cbDetachedSignature.TabIndex        = 22;
     this.cbDetachedSignature.Text            = "Detached Signature";
     this.cbDetachedSignature.CheckedChanged += new System.EventHandler(this.cbDetachedSignature_CheckedChanged);
     //
     // cbIncludeCertificate
     //
     this.cbIncludeCertificate.Checked         = true;
     this.cbIncludeCertificate.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.cbIncludeCertificate.Location        = new System.Drawing.Point(376, 328);
     this.cbIncludeCertificate.Name            = "cbIncludeCertificate";
     this.cbIncludeCertificate.Size            = new System.Drawing.Size(128, 24);
     this.cbIncludeCertificate.TabIndex        = 23;
     this.cbIncludeCertificate.Text            = "Include Certificate";
     this.cbIncludeCertificate.CheckedChanged += new System.EventHandler(this.cbDetachedSignature_CheckedChanged);
     //
     // openFileDialog
     //
     this.openFileDialog.Filter = "Emails (*.eml)|*.eml|All (*.*)|*.*";
     //
     // saveFileDialog
     //
     this.saveFileDialog.Filter = "Emails (*.eml)|*.eml|All (*.*)|*.*";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(16, 8);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(472, 16);
     this.label7.TabIndex = 26;
     this.label7.Text     = "This demo creates and signs / encodes the mail message and stores it to file on t" +
                            "he disk.";
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(16, 32);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(464, 32);
     this.label8.TabIndex = 27;
     this.label8.Text     = "If you have a mail message, already stored on the  disk, you can load it and decr" +
                            "ypt / verify  the message  digital signature.  Please see Readme.txt for more de" +
                            "tails.";
     //
     // sMimeMessage1
     //
     this.sMimeMessage1.Date                      = new System.DateTime(2006, 5, 5, 17, 31, 12, 0);
     this.sMimeMessage1.From.Email                = "";
     this.sMimeMessage1.From.Name                 = "";
     this.sMimeMessage1.GetSigningCertificate    += new CleverComponents.InetSuite.GetCertificateEventHandler(this.sMimeMessage1_GetSigningCertificate);
     this.sMimeMessage1.GetEncryptionCertificate += new CleverComponents.InetSuite.GetCertificateEventHandler(this.sMimeMessage1_GetEncryptionCertificate);
     //
     // certificateStore1
     //
     this.certificateStore1.ValidFrom = new System.DateTime(2010, 7, 23, 1, 35, 20, 231);
     this.certificateStore1.ValidTo   = new System.DateTime(2011, 7, 23, 1, 35, 20, 231);
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(514, 360);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.cbIncludeCertificate);
     this.Controls.Add(this.cbDetachedSignature);
     this.Controls.Add(this.btnVerifyDecrypt);
     this.Controls.Add(this.btnSignEncrypt);
     this.Controls.Add(this.btnDecrypt);
     this.Controls.Add(this.btnEncrypt);
     this.Controls.Add(this.btnVerify);
     this.Controls.Add(this.btnSign);
     this.Controls.Add(this.btnViewCertificates);
     this.Controls.Add(this.btnNewMessage);
     this.Controls.Add(this.memText);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.edtSubject);
     this.Controls.Add(this.edtToList);
     this.Controls.Add(this.edtFrom);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.Name            = "MainForm";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "SMIME Message";
     ((System.ComponentModel.ISupportInitialize)(this.sMimeMessage1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label2              = new System.Windows.Forms.Label();
     this.label3              = new System.Windows.Forms.Label();
     this.cbName              = new System.Windows.Forms.ComboBox();
     this.lvCertificates      = new System.Windows.Forms.ListView();
     this.columnHeader1       = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader2       = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader3       = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader4       = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader5       = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.btnLoad             = new System.Windows.Forms.Button();
     this.btnClose            = new System.Windows.Forms.Button();
     this.btnExport           = new System.Windows.Forms.Button();
     this.btnImport           = new System.Windows.Forms.Button();
     this.btnDelete           = new System.Windows.Forms.Button();
     this.btnCreateSelfSigned = new System.Windows.Forms.Button();
     this.certificateStore1   = new CleverComponents.InetSuite.CertificateStore();
     this.btnCreateSigned     = new System.Windows.Forms.Button();
     this.cbLocation          = new System.Windows.Forms.ComboBox();
     this.label1              = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(14, 45);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(112, 23);
     this.label2.TabIndex = 1;
     this.label2.Text     = "System Store Name";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 64);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(64, 23);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Certificates";
     //
     // cbName
     //
     this.cbName.Items.AddRange(new object[] {
         "MY",
         "CA",
         "ROOT",
         "ADDRESSBOOK"
     });
     this.cbName.Location = new System.Drawing.Point(141, 42);
     this.cbName.Name     = "cbName";
     this.cbName.Size     = new System.Drawing.Size(184, 21);
     this.cbName.TabIndex = 4;
     this.cbName.Text     = "MY";
     //
     // lvCertificates
     //
     this.lvCertificates.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3,
         this.columnHeader4,
         this.columnHeader5
     });
     this.lvCertificates.FullRowSelect = true;
     this.lvCertificates.HideSelection = false;
     this.lvCertificates.Location      = new System.Drawing.Point(16, 88);
     this.lvCertificates.MultiSelect   = false;
     this.lvCertificates.Name          = "lvCertificates";
     this.lvCertificates.Size          = new System.Drawing.Size(408, 232);
     this.lvCertificates.TabIndex      = 5;
     this.lvCertificates.UseCompatibleStateImageBehavior = false;
     this.lvCertificates.View = System.Windows.Forms.View.Details;
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "Issued To";
     this.columnHeader1.Width = 100;
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "Issued By";
     this.columnHeader2.Width = 100;
     //
     // columnHeader3
     //
     this.columnHeader3.Text = "Expiration Date";
     //
     // columnHeader4
     //
     this.columnHeader4.Text  = "Friendly Name";
     this.columnHeader4.Width = 100;
     //
     // columnHeader5
     //
     this.columnHeader5.Text  = "Email";
     this.columnHeader5.Width = 100;
     //
     // btnLoad
     //
     this.btnLoad.Location = new System.Drawing.Point(440, 16);
     this.btnLoad.Name     = "btnLoad";
     this.btnLoad.Size     = new System.Drawing.Size(112, 23);
     this.btnLoad.TabIndex = 6;
     this.btnLoad.Text     = "Load Store";
     this.btnLoad.Click   += new System.EventHandler(this.btnLoad_Click);
     //
     // btnClose
     //
     this.btnClose.Location = new System.Drawing.Point(440, 48);
     this.btnClose.Name     = "btnClose";
     this.btnClose.Size     = new System.Drawing.Size(112, 23);
     this.btnClose.TabIndex = 7;
     this.btnClose.Text     = "Close Store";
     this.btnClose.Click   += new System.EventHandler(this.btnClose_Click);
     //
     // btnExport
     //
     this.btnExport.Location = new System.Drawing.Point(440, 88);
     this.btnExport.Name     = "btnExport";
     this.btnExport.Size     = new System.Drawing.Size(112, 23);
     this.btnExport.TabIndex = 8;
     this.btnExport.Text     = "Export to PFX...";
     this.btnExport.Click   += new System.EventHandler(this.btnExport_Click);
     //
     // btnImport
     //
     this.btnImport.Location = new System.Drawing.Point(440, 120);
     this.btnImport.Name     = "btnImport";
     this.btnImport.Size     = new System.Drawing.Size(112, 23);
     this.btnImport.TabIndex = 9;
     this.btnImport.Text     = "Import from PFX...";
     this.btnImport.Click   += new System.EventHandler(this.btnImport_Click);
     //
     // btnDelete
     //
     this.btnDelete.Location = new System.Drawing.Point(440, 239);
     this.btnDelete.Name     = "btnDelete";
     this.btnDelete.Size     = new System.Drawing.Size(112, 23);
     this.btnDelete.TabIndex = 10;
     this.btnDelete.Text     = "Delete";
     this.btnDelete.Click   += new System.EventHandler(this.btnDelete_Click);
     //
     // btnCreateSelfSigned
     //
     this.btnCreateSelfSigned.Location = new System.Drawing.Point(440, 268);
     this.btnCreateSelfSigned.Name     = "btnCreateSelfSigned";
     this.btnCreateSelfSigned.Size     = new System.Drawing.Size(112, 23);
     this.btnCreateSelfSigned.TabIndex = 11;
     this.btnCreateSelfSigned.Text     = "Create Self-Signed";
     this.btnCreateSelfSigned.Click   += new System.EventHandler(this.btnCreateSelfSigned_Click);
     //
     // certificateStore1
     //
     this.certificateStore1.ValidFrom = new System.DateTime(2009, 8, 17, 12, 15, 16, 656);
     this.certificateStore1.ValidTo   = new System.DateTime(2010, 8, 17, 12, 15, 16, 656);
     //
     // btnCreateSigned
     //
     this.btnCreateSigned.Location = new System.Drawing.Point(440, 297);
     this.btnCreateSigned.Name     = "btnCreateSigned";
     this.btnCreateSigned.Size     = new System.Drawing.Size(112, 23);
     this.btnCreateSigned.TabIndex = 12;
     this.btnCreateSigned.Text     = "Create Signed";
     this.btnCreateSigned.Click   += new System.EventHandler(this.btnCreateSigned_Click);
     //
     // cbLocation
     //
     this.cbLocation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbLocation.Items.AddRange(new object[] {
         "Current User",
         "Local Machine"
     });
     this.cbLocation.Location = new System.Drawing.Point(141, 15);
     this.cbLocation.Name     = "cbLocation";
     this.cbLocation.Size     = new System.Drawing.Size(184, 21);
     this.cbLocation.TabIndex = 3;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(14, 18);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(121, 23);
     this.label1.TabIndex = 13;
     this.label1.Text     = "System Store Location";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(570, 334);
     this.Controls.Add(this.cbLocation);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnCreateSigned);
     this.Controls.Add(this.btnCreateSelfSigned);
     this.Controls.Add(this.btnDelete);
     this.Controls.Add(this.btnImport);
     this.Controls.Add(this.btnExport);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.btnLoad);
     this.Controls.Add(this.lvCertificates);
     this.Controls.Add(this.cbName);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Form1";
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1                 = new System.Windows.Forms.Label();
     this.label2                 = new System.Windows.Forms.Label();
     this.edtUrl                 = new System.Windows.Forms.TextBox();
     this.button1                = new System.Windows.Forms.Button();
     this.cbShowText             = new System.Windows.Forms.CheckBox();
     this.memResult              = new System.Windows.Forms.TextBox();
     this.http1                  = new CleverComponents.InetSuite.Http();
     this.htmlParser1            = new CleverComponents.InetSuite.HtmlParser();
     this.edtPassword            = new System.Windows.Forms.TextBox();
     this.label8                 = new System.Windows.Forms.Label();
     this.edtUser                = new System.Windows.Forms.TextBox();
     this.label7                 = new System.Windows.Forms.Label();
     this.certificateStore1      = new CleverComponents.InetSuite.CertificateStore();
     this.clientCertificateStore = new CleverComponents.InetSuite.CertificateStore();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(424, 24);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Type in the URL and click the \'GET\' button to retreive the page specified by URL." +
                            "";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 40);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(40, 16);
     this.label2.TabIndex = 1;
     this.label2.Text     = "URL";
     //
     // edtUrl
     //
     this.edtUrl.Location = new System.Drawing.Point(56, 40);
     this.edtUrl.Name     = "edtUrl";
     this.edtUrl.Size     = new System.Drawing.Size(304, 20);
     this.edtUrl.TabIndex = 2;
     this.edtUrl.Text     = "https://www.paypal.com";
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(368, 40);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(56, 23);
     this.button1.TabIndex = 3;
     this.button1.Text     = "GET";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // cbShowText
     //
     this.cbShowText.Location = new System.Drawing.Point(56, 96);
     this.cbShowText.Name     = "cbShowText";
     this.cbShowText.Size     = new System.Drawing.Size(104, 24);
     this.cbShowText.TabIndex = 6;
     this.cbShowText.Text     = "Show text only";
     //
     // memResult
     //
     this.memResult.BackColor  = System.Drawing.SystemColors.Window;
     this.memResult.Location   = new System.Drawing.Point(0, 128);
     this.memResult.Multiline  = true;
     this.memResult.Name       = "memResult";
     this.memResult.ReadOnly   = true;
     this.memResult.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.memResult.Size       = new System.Drawing.Size(448, 232);
     this.memResult.TabIndex   = 7;
     //
     // http1
     //
     this.http1.CharSet         = null;
     this.http1.ConnectTimeOut  = 0;
     this.http1.GetCertificate += new CleverComponents.InetSuite.GetCertificateEventHandler(this.http1_GetCertificate);
     this.http1.VerifyServer   += new CleverComponents.InetSuite.VerifyPeerEventHandler(this.http1_VerifyServer);
     //
     // htmlParser1
     //
     this.htmlParser1.ParseMethod = CleverComponents.InetSuite.ParseMethod.TextOnly;
     this.htmlParser1.ParseTag   += new CleverComponents.InetSuite.ParseTagEventHandler(this.htmlParser1_ParseTag);
     //
     // edtPassword
     //
     this.edtPassword.Location     = new System.Drawing.Point(248, 64);
     this.edtPassword.Name         = "edtPassword";
     this.edtPassword.PasswordChar = '*';
     this.edtPassword.Size         = new System.Drawing.Size(112, 20);
     this.edtPassword.TabIndex     = 5;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(184, 64);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(64, 16);
     this.label8.TabIndex = 21;
     this.label8.Text     = "Password";
     //
     // edtUser
     //
     this.edtUser.Location = new System.Drawing.Point(56, 64);
     this.edtUser.Name     = "edtUser";
     this.edtUser.Size     = new System.Drawing.Size(104, 20);
     this.edtUser.TabIndex = 4;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(16, 64);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(48, 16);
     this.label7.TabIndex = 20;
     this.label7.Text     = "User";
     //
     // certificateStore1
     //
     this.certificateStore1.ValidFrom = new System.DateTime(2020, 3, 8, 21, 12, 21, 90);
     this.certificateStore1.ValidTo   = new System.DateTime(2021, 3, 8, 21, 12, 21, 90);
     //
     // clientCertificateStore
     //
     this.clientCertificateStore.ValidFrom = new System.DateTime(2020, 3, 8, 21, 12, 21, 95);
     this.clientCertificateStore.ValidTo   = new System.DateTime(2021, 3, 8, 21, 12, 21, 95);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(448, 358);
     this.Controls.Add(this.edtPassword);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.edtUser);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.memResult);
     this.Controls.Add(this.cbShowText);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.edtUrl);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Name = "Form1";
     this.Text = "HTTPS GET demo";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     CleverComponents.InetSuite.MailUserAccountItem mailUserAccountItem2 = new CleverComponents.InetSuite.MailUserAccountItem();
     this.memLog            = new System.Windows.Forms.TextBox();
     this.label5            = new System.Windows.Forms.Label();
     this.btnStop           = new System.Windows.Forms.Button();
     this.btnStart          = new System.Windows.Forms.Button();
     this.edtMailboxDir     = new System.Windows.Forms.TextBox();
     this.label4            = new System.Windows.Forms.Label();
     this.edtPort           = new System.Windows.Forms.TextBox();
     this.label3            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.label1            = new System.Windows.Forms.Label();
     this.cbUseLogin        = new System.Windows.Forms.CheckBox();
     this.smtpServer1       = new CleverComponents.InetSuite.SmtpServer();
     this.smtpFileHandler1  = new CleverComponents.InetSuite.SmtpFileHandler();
     this.edtRelayDir       = new System.Windows.Forms.TextBox();
     this.label6            = new System.Windows.Forms.Label();
     this.label7            = new System.Windows.Forms.Label();
     this.cbUseTls          = new System.Windows.Forms.ComboBox();
     this.label8            = new System.Windows.Forms.Label();
     this.certificateStore1 = new CleverComponents.InetSuite.CertificateStore();
     this.SuspendLayout();
     //
     // memLog
     //
     this.memLog.Location   = new System.Drawing.Point(0, 296);
     this.memLog.Multiline  = true;
     this.memLog.Name       = "memLog";
     this.memLog.ReadOnly   = true;
     this.memLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.memLog.Size       = new System.Drawing.Size(440, 112);
     this.memLog.TabIndex   = 29;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(16, 275);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(48, 14);
     this.label5.TabIndex = 28;
     this.label5.Text     = "Log";
     //
     // btnStop
     //
     this.btnStop.Location = new System.Drawing.Point(170, 256);
     this.btnStop.Name     = "btnStop";
     this.btnStop.Size     = new System.Drawing.Size(75, 23);
     this.btnStop.TabIndex = 27;
     this.btnStop.Text     = "Stop";
     this.btnStop.Click   += new System.EventHandler(this.btnStop_Click);
     //
     // btnStart
     //
     this.btnStart.Location = new System.Drawing.Point(83, 256);
     this.btnStart.Name     = "btnStart";
     this.btnStart.Size     = new System.Drawing.Size(75, 23);
     this.btnStart.TabIndex = 26;
     this.btnStart.Text     = "Start";
     this.btnStart.Click   += new System.EventHandler(this.btnStart_Click);
     //
     // edtMailboxDir
     //
     this.edtMailboxDir.Location = new System.Drawing.Point(83, 168);
     this.edtMailboxDir.Name     = "edtMailboxDir";
     this.edtMailboxDir.Size     = new System.Drawing.Size(341, 20);
     this.edtMailboxDir.TabIndex = 25;
     this.edtMailboxDir.Text     = "C:\\CleverMailBox\\";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(16, 171);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(72, 16);
     this.label4.TabIndex = 24;
     this.label4.Text     = "Mailbox Dir";
     //
     // edtPort
     //
     this.edtPort.Location = new System.Drawing.Point(83, 136);
     this.edtPort.Name     = "edtPort";
     this.edtPort.Size     = new System.Drawing.Size(72, 20);
     this.edtPort.TabIndex = 23;
     this.edtPort.Text     = "25";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 138);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(32, 17);
     this.label3.TabIndex = 22;
     this.label3.Text     = "Port";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 96);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(408, 32);
     this.label2.TabIndex = 21;
     this.label2.Text     = "Please use the \"CleverTester\" user name and \"clevertester\" password to log-in. Th" +
                            "e user e-mail: [email protected]";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(416, 29);
     this.label1.TabIndex = 20;
     this.label1.Text     = "This is a sample SMTP SSL / TLS server. You can use any SSL-enabled SMTP client (" +
                            "such as TclSmtp or MS Outlook client to connect to this server.";
     //
     // cbUseLogin
     //
     this.cbUseLogin.Checked    = true;
     this.cbUseLogin.CheckState = System.Windows.Forms.CheckState.Checked;
     this.cbUseLogin.Location   = new System.Drawing.Point(83, 220);
     this.cbUseLogin.Name       = "cbUseLogin";
     this.cbUseLogin.Size       = new System.Drawing.Size(296, 24);
     this.cbUseLogin.TabIndex   = 30;
     this.cbUseLogin.Text       = "Use Authentication - LOGIN / CRAM-MD5 / NTLM";
     //
     // smtpServer1
     //
     this.smtpServer1.HelpText = new string[] {
         "Commands Supported:",
         "HELO EHLO AUTH HELP QUIT MAIL NOOP RSET RCPT DATA STARTTLS"
     };
     this.smtpServer1.ServerName      = "Clever Internet Suite SMTP service";
     mailUserAccountItem2.DisplayName = "Clever Tester";
     mailUserAccountItem2.Email       = "*****@*****.**";
     mailUserAccountItem2.Password    = "******";
     mailUserAccountItem2.UserName    = "******";
     this.smtpServer1.UserAccounts.AddRange(new CleverComponents.InetSuite.UserAccountItem[] {
         mailUserAccountItem2
     });
     this.smtpServer1.Authenticate       += new CleverComponents.InetSuite.SmtpAuthenticateEventHandler(this.smtpServer1_Authenticate);
     this.smtpServer1.CommandReceived    += new CleverComponents.InetSuite.TcpCommandEventHandler(this.smtpServer1_CommandReceived);
     this.smtpServer1.ResponseSent       += new CleverComponents.InetSuite.TcpResponseEventHandler(this.smtpServer1_ResponseSent);
     this.smtpServer1.GetCertificate     += new CleverComponents.InetSuite.GetCertificateEventHandler(this.smtpServer1_GetCertificate);
     this.smtpServer1.Started            += new System.EventHandler(this.smtpServer1_Started);
     this.smtpServer1.Stopped            += new System.EventHandler(this.smtpServer1_Stopped);
     this.smtpServer1.ConnectionAccepted += new CleverComponents.InetSuite.ConnectionAcceptedEventHandler(this.smtpServer1_ConnectionAccepted);
     this.smtpServer1.ConnectionClosed   += new CleverComponents.InetSuite.ConnectionEventHandler(this.smtpServer1_ConnectionClosed);
     //
     // smtpFileHandler1
     //
     this.smtpFileHandler1.Counter    = 1;
     this.smtpFileHandler1.MailBoxDir = null;
     this.smtpFileHandler1.RelayDir   = null;
     this.smtpFileHandler1.Server     = this.smtpServer1;
     //
     // edtRelayDir
     //
     this.edtRelayDir.Location = new System.Drawing.Point(83, 192);
     this.edtRelayDir.Name     = "edtRelayDir";
     this.edtRelayDir.Size     = new System.Drawing.Size(341, 20);
     this.edtRelayDir.TabIndex = 32;
     this.edtRelayDir.Text     = "C:\\CleverMailBox\\RelayQueue\\";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(16, 195);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(56, 16);
     this.label6.TabIndex = 31;
     this.label6.Text     = "Relay Dir";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(24, 48);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(400, 40);
     this.label7.TabIndex = 33;
     this.label7.Text     = "This server uses self-signed server certificate to establish the SSL connection. " +
                            "In real application you will need to request a certificate from trusted issuer o" +
                            "r use your own self-signed certificate.";
     //
     // cbUseTls
     //
     this.cbUseTls.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbUseTls.Items.AddRange(new object[] {
         "None",
         "Implicit",
         "Allow Explicit",
         "Require Explicit"
     });
     this.cbUseTls.Location = new System.Drawing.Point(304, 136);
     this.cbUseTls.Name     = "cbUseTls";
     this.cbUseTls.Size     = new System.Drawing.Size(121, 21);
     this.cbUseTls.TabIndex = 34;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(200, 139);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(100, 16);
     this.label8.TabIndex = 35;
     this.label8.Text     = "SSL / TLS Mode";
     //
     // certificateStore1
     //
     this.certificateStore1.ValidFrom = new System.DateTime(2008, 8, 17, 13, 58, 6, 250);
     this.certificateStore1.ValidTo   = new System.DateTime(2009, 8, 17, 13, 58, 6, 250);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 408);
     this.Controls.Add(this.cbUseTls);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.edtRelayDir);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.cbUseLogin);
     this.Controls.Add(this.memLog);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.btnStop);
     this.Controls.Add(this.btnStart);
     this.Controls.Add(this.edtMailboxDir);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.edtPort);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "Form1";
     this.Text            = "Clever SMTP Server";
     this.Closed         += new System.EventHandler(this.Form1_Closed);
     this.Load           += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     CleverComponents.InetSuite.MailUserAccountItem mailUserAccountItem2 = new CleverComponents.InetSuite.MailUserAccountItem();
     this.memLog            = new System.Windows.Forms.TextBox();
     this.label5            = new System.Windows.Forms.Label();
     this.btnStop           = new System.Windows.Forms.Button();
     this.btnStart          = new System.Windows.Forms.Button();
     this.edtRootDir        = new System.Windows.Forms.TextBox();
     this.label4            = new System.Windows.Forms.Label();
     this.edtPort           = new System.Windows.Forms.TextBox();
     this.label3            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.label1            = new System.Windows.Forms.Label();
     this.pop3Server1       = new CleverComponents.InetSuite.Pop3Server();
     this.pop3FileHandler1  = new CleverComponents.InetSuite.Pop3FileHandler();
     this.label6            = new System.Windows.Forms.Label();
     this.cbUseTls          = new System.Windows.Forms.ComboBox();
     this.label7            = new System.Windows.Forms.Label();
     this.certificateStore1 = new CleverComponents.InetSuite.CertificateStore();
     this.SuspendLayout();
     //
     // memLog
     //
     this.memLog.Location   = new System.Drawing.Point(0, 256);
     this.memLog.Multiline  = true;
     this.memLog.Name       = "memLog";
     this.memLog.ReadOnly   = true;
     this.memLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.memLog.Size       = new System.Drawing.Size(440, 136);
     this.memLog.TabIndex   = 19;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(16, 235);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(48, 15);
     this.label5.TabIndex = 18;
     this.label5.Text     = "Log";
     //
     // btnStop
     //
     this.btnStop.Location = new System.Drawing.Point(155, 208);
     this.btnStop.Name     = "btnStop";
     this.btnStop.Size     = new System.Drawing.Size(75, 23);
     this.btnStop.TabIndex = 17;
     this.btnStop.Text     = "Stop";
     this.btnStop.Click   += new System.EventHandler(this.btnStop_Click);
     //
     // btnStart
     //
     this.btnStart.Location = new System.Drawing.Point(69, 208);
     this.btnStart.Name     = "btnStart";
     this.btnStart.Size     = new System.Drawing.Size(75, 23);
     this.btnStart.TabIndex = 16;
     this.btnStart.Text     = "Start";
     this.btnStart.Click   += new System.EventHandler(this.btnStart_Click);
     //
     // edtRootDir
     //
     this.edtRootDir.Location = new System.Drawing.Point(69, 176);
     this.edtRootDir.Name     = "edtRootDir";
     this.edtRootDir.Size     = new System.Drawing.Size(347, 20);
     this.edtRootDir.TabIndex = 15;
     this.edtRootDir.Text     = "C:\\CleverMailBox\\";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(16, 179);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(56, 14);
     this.label4.TabIndex = 14;
     this.label4.Text     = "Root Dir";
     //
     // edtPort
     //
     this.edtPort.Location = new System.Drawing.Point(69, 144);
     this.edtPort.Name     = "edtPort";
     this.edtPort.Size     = new System.Drawing.Size(75, 20);
     this.edtPort.TabIndex = 13;
     this.edtPort.Text     = "995";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 147);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(32, 15);
     this.label3.TabIndex = 12;
     this.label3.Text     = "Port";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 112);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(408, 23);
     this.label2.TabIndex = 11;
     this.label2.Text     = "Please use the \"CleverTester\" user name and \"clevertester\" password to log-in.";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 11);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(416, 37);
     this.label1.TabIndex = 10;
     this.label1.Text     = "This is a sample POP3 SSL / TLS server. You can use any SSL-enabled POP3 client (" +
                            "such as TclPop3 or MS Outlook client to connect to this server.";
     //
     // pop3Server1
     //
     this.pop3Server1.HelpText = new string[] {
         "Valid commands: USER",
         "PASS",
         "APOP",
         "AUTH",
         "QUIT",
         "NOOP",
         "HELP",
         "STAT",
         "RETR",
         "TOP",
         "DELE",
         "RSET",
         "LIST",
         "UIDL",
         "STLS"
     };
     this.pop3Server1.ServerName      = "Clever Internet Suite POP3 service";
     this.pop3Server1.SessionTimeOut  = -1;
     mailUserAccountItem2.DisplayName = "Clever Tester";
     mailUserAccountItem2.Password    = "******";
     mailUserAccountItem2.UserName    = "******";
     this.pop3Server1.UserAccounts.AddRange(new CleverComponents.InetSuite.UserAccountItem[] {
         mailUserAccountItem2
     });
     this.pop3Server1.Authenticate       += new CleverComponents.InetSuite.Pop3AuthenticateEventHandler(this.pop3Server1_Authenticate);
     this.pop3Server1.CommandReceived    += new CleverComponents.InetSuite.TcpCommandEventHandler(this.pop3Server1_CommandReceived);
     this.pop3Server1.ResponseSent       += new CleverComponents.InetSuite.TcpResponseEventHandler(this.pop3Server1_ResponseSent);
     this.pop3Server1.GetCertificate     += new CleverComponents.InetSuite.GetCertificateEventHandler(this.pop3Server1_GetCertificate);
     this.pop3Server1.Started            += new System.EventHandler(this.pop3Server1_Started);
     this.pop3Server1.Stopped            += new System.EventHandler(this.pop3Server1_Stopped);
     this.pop3Server1.ConnectionAccepted += new CleverComponents.InetSuite.ConnectionAcceptedEventHandler(this.pop3Server1_ConnectionAccepted);
     this.pop3Server1.ConnectionClosed   += new CleverComponents.InetSuite.ConnectionEventHandler(this.pop3Server1_ConnectionClosed);
     //
     // pop3FileHandler1
     //
     this.pop3FileHandler1.MailBoxDir = null;
     this.pop3FileHandler1.Server     = this.pop3Server1;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(16, 56);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(400, 48);
     this.label6.TabIndex = 20;
     this.label6.Text     = "This server uses self-signed server certificate to establish the SSL connection. " +
                            "In real application you will need to request a certificate from trusted issuer o" +
                            "r use your own self-signed certificate.";
     //
     // cbUseTls
     //
     this.cbUseTls.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbUseTls.Items.AddRange(new object[] {
         "None",
         "Implicit",
         "Allow Explicit",
         "Require Explicit"
     });
     this.cbUseTls.Location = new System.Drawing.Point(296, 144);
     this.cbUseTls.Name     = "cbUseTls";
     this.cbUseTls.Size     = new System.Drawing.Size(121, 21);
     this.cbUseTls.TabIndex = 21;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(200, 146);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(89, 16);
     this.label7.TabIndex = 22;
     this.label7.Text     = "SSL / TLS Mode";
     //
     // certificateStore1
     //
     this.certificateStore1.ValidFrom = new System.DateTime(2008, 8, 17, 15, 5, 55, 46);
     this.certificateStore1.ValidTo   = new System.DateTime(2009, 8, 17, 15, 5, 55, 46);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 392);
     this.Controls.Add(this.cbUseTls);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.memLog);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.btnStop);
     this.Controls.Add(this.btnStart);
     this.Controls.Add(this.edtRootDir);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.edtPort);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "Form1";
     this.Text            = "Clever POP3 Server";
     this.ResumeLayout(false);
     this.PerformLayout();
 }