dloubser wrote:Hi,
I am using VeriFinger SDK 10 on Windows 10 VB.net 2017. I have a Windows application which works well and using the code below will pick up 3 devices 1. Microphone, 2. Webcam, 3. U.are.U 4500.
When using the exact same code in my windows service I only get the first 2 devices but not the U.are.U 4500. I have duplicated everything onto the service including the references and all the files are copied directly to the debug directories.
I don"t get any errors. Only difference is the working project is a Windows Forms application and the non working one is a Windows Service.
Code:
Dim client As New NBiometricClient()
client.UseDeviceManager = True
client.Initialize()
Thanks.
Hello,
This is expected behavior when the Digital Persona scanners and Windows Services are used. To be able to use the Digital Persona scanner in service you need to set the “interaction with Desktop” in that service and this option is removed by Microsoft since the Windows Vista/7. We had a customer who had a similar issue when he migrated from WinXP to Win7 and we contacted the Digital Persona for the solution, but they weren’t able to provide a one for this issue.
One of my colleagues have done the test with Windows Services about a month ago. And he confirmed that U.are.U 4000 and U.are.U 4500 scanners could not be found using Windows Services. However, the newer scanners (U.are.U 5100 and U.are.U 51600) were found by Windows Services.
So in your case there will be only solution to change scanners or do not use as service.