예제 #1
0
        } // End Sub Doku

        public static void TestRootCertificateGeneration()
        {
            // Watch for static variables !
            CertificateCallback.Initialize();
            Titanium.Web.Proxy.Examples.Basic.ProxyTestController controller1 = Titanium.Web.Proxy.Examples.Basic.ProxyServerProgram.Start();

            // TestMailReader.Test();

            controller1.Stop();
        }
예제 #2
0
        static void Main(string[] args)
        {
            // RedmineMailService.MailGender.GetGenders();
            // AnySqlWebAdmin.CerGenerator.CreateSignatureRequest();
            // AnySqlWebAdmin.CerGenerator.Test2();

            // AnySqlWebAdmin.CerGenerator.Test();

            //Titanium.Web.Proxy.Examples.Basic.ProxyTestController controller666 = Titanium.Web.Proxy.Examples.Basic.ProxyServerProgram.Start();

            //System.Console.WriteLine("Press any key to continue");
            //System.Console.ReadKey();

            //controller666.Stop();
            //return;



            // RedmineMailService.CertSSL.SSL.PfxConverter.Test();
            // System.Console.WriteLine("hi");


            // RedmineMailService.SendMail.Test();


            // RedmineMailService.Tests.StructureInfo.Test();
            // MailSender.Test();


            System.Configuration.ConfigurationManager.AppSettings.Get();
            RedmineMailService.Exchange.SendMailWithAttachment();
            return;

            // https://github.com/dasMulli/dotnet-win32-service
            // ServiceStarter.Start(args);

            // MailSender.Test();

            CertificateCallback.Initialize();
            Titanium.Web.Proxy.Examples.Basic.ProxyTestController controller = Titanium.Web.Proxy.Examples.Basic.ProxyServerProgram.Start();

            // TestMailReader.Test();

            controller.Stop();
            System.Console.WriteLine(System.Environment.NewLine);
            System.Console.WriteLine(" --- Press any key to continue --- ");
            System.Console.ReadKey();
        } // End Sub Main