JcBernack / WinBioNET

Managed wrapper in C#/NET for the Windows Biometric Framework
MIT License
58 stars 14 forks source link

Need to create private pool #14

Open danergo opened 6 years ago

danergo commented 6 years ago

Hello, I have the same problem as some already had: ConfigureFailed every time when I try opening the session. Then I found this on StackOF: https://stackoverflow.com/questions/43410458/while-creating-private-pool-winbioopensession-is-failing-and-returning-winbio?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa which marks that a private pool needs to be created first. However the biohelper.h which is found here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh697321(v=vs.85).aspx have some unresolved external symbols inside so I could not create the private pool, so I always end up getting ConfigurationFailed exceptions upon opening the session. Do you have any intention for me on where to continue?

JcBernack commented 6 years ago

I'm sorry but I can't really help you. I don't know what's wrong with your setup and I don't have access to a Windows machine with a fingerprint sensor anymore to reproduce what you are trying to do. I just want to make sure you understand that this library has not seen any updates since quite a while and at the time I was working on it I had the impression that Microsoft was still actively working on the WinBio api. So my advice would be to use the api directly in C or you double check every call of this wrapper with the dociumentation. Which version of Windows are you running?

danergo commented 6 years ago

Yes, understood, thank you.

Ms now definitely not focusing on winbio any more, I think they prefer the Hello framework. But it is only available from ten, and is a real pain to compile it because it needs a specific version of the sdk and you have to manually browse custom dllls etc...

My Windows is W10, and I use some sw which uses the winbio api and they work fine, actually that gave me the courage to start looking around.

Maybe I'll create a library and then modify your wrapper to use it.

Thank you anyway!

On Wed, 30 May 2018, 01:42 Jan Christoph Bernack, notifications@github.com wrote:

I'm sorry but I can't really help you. I don't know what's wrong with your setup and I don't have access to a Windows machine with a fingerprint sensor anymore to reproduce what you are trying to do. I just want to make sure you understand that this library has not seen any updates since quite a while and at the time I was working on it I had the impression that Microsoft was still actively working on the WinBio api. So my advice would be to use the api directly in C or you double check every call of this wrapper with the dociumentation. Which version of Windows are you running?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JcBernack/WinBioNET/issues/14#issuecomment-392983029, or mute the thread https://github.com/notifications/unsubscribe-auth/ALKnuCOLMzKIaBxiPq5RQTobt9J08Ohgks5t3dz4gaJpZM4UQqXj .

mykeels commented 4 years ago

@danergo did you ever do this? What's the way forward in 2019?

danergo commented 4 years ago

Sorry, github usually doesnt send emails about mentions. I had partial success with this, it depends on what you need. If you open the session with system and default flag, it suceeds and you can enroll and verify your fingerprints. This should be perfectly enough for identifying the user and enable some functions which is only meant to be available for him/her.

mykeels commented 4 years ago

Could you share a link to a resource that could help with this?

danergo commented 4 years ago

I've used the https://github.com/JcBernack/WinBioNET/tree/master/WindowsFormsTest project from this repo.

But I need to change the opensession to System, and Default, that's the only combo seems working nowadays.