Beispiel #1
0
        public void InitializeManager()
        {
            Settings = ((App)Application.Current).Settings;

            Driver = new DriverConnector();
            Driver.InitializeDevice();

            InterfaceConfig = new NetworkInterfaceConfiguation();

            //Encryption = new PlainTextEngine();
            Encryption = new AesEngineBC();
            Encryption.Initialize();
            KeyExchange = new KeyExchangeEngine();
            KeyExchange.InitializeKey();

            HeartbeatTimer          = new System.Timers.Timer(TimeBetweenHeartbeats);
            HeartbeatTimer.Elapsed += HeartbeatTimer_Elapsed;
            HeartbeatTimer.Start();
        }
Beispiel #2
0
 private void btnExec_Click(object sender, EventArgs e)
 {
     DriverConnector abc = new DriverConnector();
 }