我们如何在WPF和C#应用程序中使用Windows生物识别框架API? [英] How can we use Windows Biometric Framework API in WPF and C# application ?

查看:154
本文介绍了我们如何在WPF和C#应用程序中使用Windows生物识别框架API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我一直在使用WPF,C#aplication,需要调用 Windows生物识别框架API ,这是用C ++编写的。

我们如何在C#中使用这些基于WPF的应用程序使用这些WBF C ++ API?



例如:HRESULT CaptureSample() - API的输出是从笔记本电脑以手指轻扫的PWINBIO_BIR格式捕获的图像数据。



如何在我的C#应用​​程序中使用上述API的捕获图像数据?

我想在Windows 7和Windows 8机器上使用它来获取FingerPrint滑动应用程序。需要任何示例应用程序或代码才能理解这一点。

谢谢 -

Hi,
I have been working to WPF, C# aplication which need to call Windows Biometric Framework API which is in C++.
How can we use these WBF C++ API for any WPF based application developed in C# ?

For Example: HRESULT CaptureSample()- The output of the API is captured image data in PWINBIO_BIR format of swipe finger from the laptop.

How to use the captured image data of the above API in my C# application ?
I want to use it on Windows 7 and Windows 8 machine to get the FingerPrint swipe application. Any sample app or code is needed to understand this.
Thanks-

推荐答案

您可以使用PInvoke [ ^ ]从C#访问C库。
You can use PInvoke[^] to access a C library from C#.


这篇关于我们如何在WPF和C#应用程序中使用Windows生物识别框架API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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