Example #1
0
        private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            imageReseter.Stop();
            if (currentTestDevice != null)
            {
                var activeDevice = (currentTestDevice.Content as IFingerDevice);
                if (activeDevice != null)
                {
                    activeDevice.Dispatch(COMMAND.LIVECAPTURE_STOP);
                    currentTestDevice = null;
                }
            }
            if (Licenser.State == IdentaZone.BioControls.Auxiliary.Licenser.STATE.ACTIVATED)
            {
                _db.Deploy(pluginManager.GetDeploymentList());
            }

            pluginManager.UnloadPlugins();
            Thread.Sleep(1000);
        }