Esempio n. 1
0
        private void VerifyCert(object sender, DoWorkEventArgs e)
        {
            Atkin test = new Atkin();

            sb = new StringBuilder();
            Stopwatch stopwatch = new Stopwatch();

            stopwatch.Start();
            test.VerifyCert(sb, bw, cert);
            stopwatch.Stop();
            ts = stopwatch.Elapsed;
        }
Esempio n. 2
0
        private void Verify(object sender, DoWorkEventArgs e)
        {
            Atkin test = new Atkin();

            sb   = new StringBuilder();
            cert = new Certificate();

            Stopwatch stopwatch = new Stopwatch();

            stopwatch.Start();
            resultCode = test.Start(new BigInteger(buffer), sb, bw, cert);
            stopwatch.Stop();
            ts = stopwatch.Elapsed;
            button_Copy.IsEnabled = true;
        }