简体   繁体   中英

.NET BarCode Reader in WPF

I am trying to see whether its possible to read the barcode in WPF Applications without using any 3rd party tools. We built an application using WPF and they are not willing to buy any third party devices to read the barcode. Is there any other way to read the barcode data in WPF Applications using .NET APIS?

Note: I seen examples in .NET, but most of them using Barcode reader tool. I have seen examples in Android ZXing library does that with out any tools like barcode reader or scanner.

Any ideas or thoughts is greatly appreciated.

Thanks, Ramesh

In order to shorten the discussion in comments and possibly help other people with similar problem, I will summarize it here.

It is not clear to me whether the real question you wanted to ask is "does .NET provide barcode reader class". If so, the answer is no.

Now, since WPF application is just a normal .NET application, for sure it is possible to implement barcode reading without 3rd party libraries. All the algorithms are public, there is plenty of open source implementation which can serve as reference, and .NET provides all you need to talk to the peripherals, acquire the image and analyze it. You "just" need to code it.

Eg there is a C# port of ZXing , so you can take a look (though it looks like automatic translation from Java, so I wouldn't expect much idiomatic C# in there).

You also mention that your customers "are not willing to buy any third party devices". I am not sure if 'devices' was meant to read 'libraries'. If so, there are open source libraries which they (or you) don't have to pay, and commercial components usually provide royalty free licenses (eg the first one that google showed ), which means that only you have to pay the development license, but your customer doesn't even know about it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM