private async void OnEnrolarClick(object sender, RoutedEventArgs e)
        {
            botonEnrolar.IsEnabled   = false;
            botonVerificar.IsEnabled = false;
            botonBorrar.IsEnabled    = false;

            _signaturePanel.Stop();

            BiometricAuthenticationServiceBasicClient service = new BiometricAuthenticationServiceBasicClient("WSHttpBinding_IBiometricAuthenticationServiceBasic");

            byte[] biometricFinalState = _signaturePanel.GetSignature(Guid.Empty, null);

            await service.EnrollAsync(BiometricAuthenticationType.Signature,
                                      biometricFinalState);

            service.Close();

            _signaturePanel.Start();

            botonEnrolar.IsEnabled   = true;
            botonVerificar.IsEnabled = true;
            botonBorrar.IsEnabled    = true;
        }
        private async Task Verify()
        {
            botonEnrolar.IsEnabled   = false;
            botonVerificar.IsEnabled = false;
            botonBorrar.IsEnabled    = false;

            _signaturePanel.Stop();

            BiometricAuthenticationServiceBasicClient service = new BiometricAuthenticationServiceBasicClient();

            byte[] biometricFinalState = _signaturePanel.GetSignature(Guid.Empty, null);

            VerifyRequest request = new VerifyRequest(BiometricAuthenticationType.Signature, biometricFinalState);

            var verificationResult = await service.VerifyAsync(request);

            service.Close();

            _signaturePanel.Start();

            botonEnrolar.IsEnabled   = true;
            botonVerificar.IsEnabled = true;
            botonBorrar.IsEnabled    = true;
        }