예제 #1
0
        void CheckButton_Click(object sender, System.EventArgs e)
        {
            Thread thread = new Thread(() =>
            {
                TestStatus.Text = "Processando...";
                if (SCTs.CheckSCTS(urlTest.Text))
                {
                    TestStatus.Text = "Certificado válido";
                }
                else
                {
                    TestStatus.Text = "Certificado inválido";
                }
            });

            thread.Start();
        }