Ejemplo n.º 1
0
 public void DisposeNLComponents()
 {
     if (_deviceMan != null && !_deviceMan.IsDisposed)
     {
         _deviceMan.Dispose();
     }
     if (_currentScanner != null && !_currentScanner.IsDisposed)
     {
         _currentScanner.Dispose();
     }
 }
Ejemplo n.º 2
0
        public void DisposeNComponents()
        {
            if (_deviceManager != null && !_deviceManager.IsDisposed)
            {
                _deviceManager.Dispose();
            }

            if (_camera != null && !_camera.IsDisposed)
            {
                _camera.Dispose();
            }
            EnableControls(false);
            if (_biometricClient != null)
            {
                _biometricClient.Reset();
                _biometricClient.Cancel();
            }
        }