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()); }
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()); }
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 !"); }
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()); }
private void btn_DropDatabase_Clicked(object sender, EventArgs e) { DataTests.DropDB(); }
private void btn_AddData_Clicked(object sender, EventArgs e) { DataTests.GenerateData(); }