询问者
windows Iot平板NFC获取卡号

问题
-
我有个windows Iot平板 支持NFC的 请问如何通过二次开发的程序获取到NFC刷到的卡号 能提供下思路或者示例代码么
我试过用ProximityDevice的SubscribeForMessage进行获取,但是那个好像是NFC设备间的交互,获取不到数据。
我只需要读取下M1卡的卡号就行了
- 已移动 ThankfulHeart 2020年2月13日 6:27 windows平板开发
全部回复
-
Hi MengLinyang,
根据我的搜索,我发现下面的链接可以实现读取NFC卡的信息。
READ AND WRITE TO NFC CARD WITH ACR122U READER IN C#
希望这会对有所帮助。
Best Regards,
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com. -
Hi MengLinyang,
感谢你的反馈。
由于这是.net framework论坛,我们只讨论与.net相关的技术。对于NFC类似硬件的API,我们只能提供链接的帮助。
为了让你的问题能够更好的解决,你可以到以下论坛中进行询问。
Best Regards,
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com. -
你好 MengLinyang:
请先参考示例代码,或许这对你有帮助:https://docs.microsoft.com/zh-cn/samples/microsoft/windows-universal-samples/nfc/
另外你的问题属于平板问题,我帮助您移动到平板区,这样更好地帮助你解决问题。
Reproduce your quesions with ScreenToGif is your choice.
For IIS: IIS Forum,
For WebSite of .NET: ASP.NET Forum,
For others: StackExchange.
For spam-sender or forum urgent issues, Send your Email at: forumsfeedback@microsoft.com -
所有 Smaple 在這邊 https://github.com/microsoft/Windows-universal-samples/tree/master/Samples/Nfc
微軟團隊有寫一個基本的 SDK https://github.com/microsoft/Windows-universal-samples/tree/master/Samples/Nfc/PcscSdk
在 https://github.com/microsoft/Windows-universal-samples/blob/master/Samples/Nfc/Nfc/CardReader.xaml.cs 的示例就是透過 PcscSDK 讀取卡片 uid
在現實生活中,你和誰在一起的確很重要,甚至能改變你的成長軌跡,決定你的人生成敗。 和什麼樣的人在一起,就會有什麼樣的人生。 和勤奮的人在一起,你不會懶惰; 和積極的人在一起,你不會消沈; 與智者同行,你會不同凡響; 與高人為伍,你能登上巔峰。 https://skilltree.my/
- 已编辑 Bill ChungMVP 2020年2月13日 17:39