如何获取指纹信息c#Windows Biometric FrameWork [英] How to Get Finger Print Info c# Windows Biometric FrameWork

查看:442
本文介绍了如何获取指纹信息c#Windows Biometric FrameWork的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用c#和Windows Biometric Framework创建指纹登录/考勤系统,我连接到传感器,当我使用该程序时,该程序会给我成功消息,但我想知道如何获取指纹信息并保存它在数据库中使用它 在比较过程的后面,这是我的代码
我想知道我在正确的道路上还是什么

i want to make fingerprint login/attendance system using c# and Windows Biometric Framework i connect to the sensor and when i use it the program give me the success msg but i want know how i could get the finger print info and save it in db to use it later in the comparing process here is my code
and I want Know If I am on the right track or what

WINBIO_IDENTITY ident = new WINBIO_IDENTITY();
            WINBIO_BIOMETRIC_SUBTYPE subtype = 0;
            WINBIO_REJECT_DETAIL REJECT = 0;
            uint arr = new uint();
            IntPtr array = IntPtr.Zero;
            IntPtr handleSession = IntPtr.Zero;
            IntPtr Sample = IntPtr.Zero;
 

            WinBio.Native.WinBioOpenSession(WINBIO_BIOMETRIC_TYPE.WINBIO_TYPE_FINGERPRINT, WINBIO_POOL_TYPE.WINBIO_POOL_SYSTEM, WINBIO_SESSION_FLAGS.WINBIO_FLAG_DEFAULT, System.IntPtr.Zero, 0, 1, ref handleSession);
            WinBio.Native.WinBioIdentify(handleSession, ref arr, ref  ident, ref subtype, ref REJECT);
            
            WinBio.Native.WinBioCloseSession(handleSession);
            label2.Text = REJECT.ToString();





推荐答案

艾哈迈德·埃尔卡迪,

Hi Ahmed M. Elkady,

谢谢您在这里发布.

对于您的问题,您想查看以下链接.

For your question, you would like to check the following link.

https://www.codeproject.com/Articles/97590 /A-Framework-in-C-进行指纹验证

我希望这会有所帮助.

最好的问候,

温迪


这篇关于如何获取指纹信息c#Windows Biometric FrameWork的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆