C#中的Futronic指纹扫描器示例代码 [英] Futronic fingerprint scanner sample code in C#

查看:162
本文介绍了C#中的Futronic指纹扫描器示例代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我买了一台FS88H的futronic指纹扫描仪并下载了包含API的文件ftrScanAPI.dll。无法将此文件添加为C#项目的引用。 API也没有附带c#中的示例源代码。请有人帮我解决一些代码或网站,以下载在C#中使用的示例代码。



我尝试过:



我尝试在c#中搜索一些示例代码以使用谷歌但无济于事。

I bought an FS88H futronic fingerprint scanner and downloaded the file containing the API, ftrScanAPI.dll. This file cannot be added as a reference to the C# project. The API too does not come with sample source codes in c#. Please can someone help me out with some codes or sites to download a sample code to use in C#.

What I have tried:

I have tried searching for some sample code in c# to use using google but to no avail.

推荐答案

您应该与创建它的人交谈 - 他们应该提供技术支持,并且会比我们更了解他们的产品。如果没有,那就找另一个供应商并要求退款!



正如Dave所说,如果DLL文件不是.NET程序集,而是本机代码那么您不能将其添加为参考,而是必须使用P / Invoke:平台调用教程(C#) [ ^ ]。

这不一定很简单:你需要非常小心地管理数据类型,以确保传递给API函数的是他们的期待 - 所以请仔细阅读函数文档和教程材料。
You should talk to the people who created it - they should provide technical support and will know more about their product than we will. If they don't, then find another supplier and demand your money back!

As Dave says, if the DLL file is not a .NET assembly but Native code then you cannot add it as a reference, you instead have to use P/Invoke: Platform Invoke Tutorial (C#)[^].
That's not necessarily simple: you need to be very careful to manage datatypes in particular to make sure that what you pass to the API functions are what they expect - so read both the documentation of the functions and the tutorial material very carefully.


除了 Griff 的答案之外,值得注意的是C#样本是随Futronic SDK提供,请参见 Futronic Technology Company Limited [ ^ ]。
In addition to Griff's answer, it is worth noting C# samples are provided with the Futronic SDK, see Futronic Technology Company Limited[^].


这篇关于C#中的Futronic指纹扫描器示例代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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