Windows 应用商店应用中的二维码 [英] QR Code in Windows Store App
问题描述
我需要在我的 Windows RT 应用程序中编写一个二维码阅读器,这样我才能获得我正在扫描的特定项目的 ID.
I need to program a QR code reader in my Windows RT app, so I can get the ID of the specific item I am scanning.
我找到了一个免费的二维码生成器的来源,但我找不到从二维码中读取 ID 的代码,所以这里的任何人都可以告诉我,我可以在哪里找到二维码阅读器的来源或任何其他读取二维码的方法,例如安装第三方程序,它只读取二维码并将结果发送回我的程序
I have found the source to a free QR code generator, but I cannot find the code to read the ID from the QR Code, so can anybody in here tell me, where I can find the source to a QR Reader or any other ways to read the QR Code e.g. Install a third-party program, which only reads the QR Code and sends the result back to my program
推荐答案
我建议看看 ZXing.NET.它是一个开源条码扫描器库,其中包括对 QR 码的支持.CodePlex 上有一个 WinRT 端口.您只需将图像传递到库中即可读取内容.
I would recommend taking a look at ZXing.NET. It's an Open Source barcode scanner library, which includes support for QR codes. There is a WinRT port available on CodePlex. You will simply need to pass an image into the library to read the contents.
这篇关于Windows 应用商店应用中的二维码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!