예제 #1
0
        static void Main(string[] args)
        {
            //System.Diagnostics.Stopwatch duurtijd = new System.Diagnostics.Stopwatch();
            //duurtijd.Start();
            DataTests      dt = new DataTests();
            SignTests      st = new SignTests();
            IntegrityTests it = new IntegrityTests();

            //dt.StoreCertificateRNFile();
            //dt.GetSpecialStatus();

            //it.IntegrityIdentityFile();
            it.IntegrityAddressFile();
            //st.SignSignature();
            //           CertificateValidityTests ct = new CertificateValidityTests();
            //          ct.ValidityAuthenticationChain();
            //dt.GetSurname();

            /*dt.GetSurname();
             * IntegrityIdentityFile
             * dt.GetSurname();
             * dt.GetSurname();
             * dt.GetSurname();
             * dt.GetSurname();
             * dt.GetSurname();
             * dt.GetSurname();
             * dt.GetSurname();
             * dt.GetCertificateLabels();
             * st.SignAuthentication();*/
            //st.ChallengeCard();
            //duurtijd.Stop();
            // Console.WriteLine(duurtijd.ElapsedMilliseconds.ToString());
        }
예제 #2
0
        static void Main(string[] args)
        {
            System.Diagnostics.Stopwatch duurtijd = new System.Diagnostics.Stopwatch();
            duurtijd.Start();
            DataTests dt = new DataTests();

            //dt.StoreCertificateRNFile();
            dt.GetSurname();
            dt.GetCertificateLabels();
            duurtijd.Stop();
            Console.WriteLine(duurtijd.ElapsedMilliseconds.ToString());
        }
예제 #3
0
        private static void DeviceInsertedEvent(object sender, EventArrivedEventArgs e)

        {
            ManagementBaseObject instance = (ManagementBaseObject)e.NewEvent["TargetInstance"];

            foreach (var property in instance.Properties)
            {
                Console.WriteLine(property.Name + " = " + property.Value);
            }
            DataTests dt = new DataTests();

            dt.GetAllData();
            Console.WriteLine("Event done !");
        }
예제 #4
0
        static void Main(string[] args)
        {
            System.Diagnostics.Stopwatch duurtijd = new System.Diagnostics.Stopwatch();
            duurtijd.Start();

            //SignTests st = new SignTests();
            //st.SignAuthentication();

            //IntegrityTests it = new IntegrityTests();
            //it.IntegrityIdentityFile();

            DataTests dt = new DataTests();

            //dt.StoreCertificateRNFile();
            dt.GetSurname();
            dt.GetChipnumber();
            dt.GetCertificateLabels();
            duurtijd.Stop();
            Console.WriteLine(duurtijd.ElapsedMilliseconds.ToString());
        }
예제 #5
0
 private void btn_DropDatabase_Clicked(object sender, EventArgs e)
 {
     DataTests.DropDB();
 }
예제 #6
0
 private void btn_AddData_Clicked(object sender, EventArgs e)
 {
     DataTests.GenerateData();
 }