ZXingCpp.Win 0.5.3.1

dotnet add package ZXingCpp.Win --version 0.5.3.1
                    
NuGet\Install-Package ZXingCpp.Win -Version 0.5.3.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ZXingCpp.Win" Version="0.5.3.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZXingCpp.Win" Version="0.5.3.1" />
                    
Directory.Packages.props
<PackageReference Include="ZXingCpp.Win" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ZXingCpp.Win --version 0.5.3.1
                    
#r "nuget: ZXingCpp.Win, 0.5.3.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ZXingCpp.Win@0.5.3.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ZXingCpp.Win&version=0.5.3.1
                    
Install as a Cake Addin
#tool nuget:?package=ZXingCpp.Win&version=0.5.3.1
                    
Install as a Cake Tool

ZXingCpp.Win

A clean, minimal ZXingCpp package for Windows x64 — same binaries, same API, none of the bloat.

ZXingCpp.Win is a repack of the official ZXingCpp 0.5.3 binaries (the .NET bindings for zxing-cpp) with one goal: when you install it, your output directory stays clean. The official package ships native payloads for Linux, macOS and Windows ARM64; ZXingCpp.Win keeps only what a Windows desktop app actually needs.

High-performance barcode reader and writer supporting all major linear/matrix formats: QR Code, DataMatrix, Aztec, PDF417, Code128, Code39, EAN, UPC, ITF, DataBar, MaxiCode and more.

What's inside

Asset Source
lib/net8.0/ZXingCpp.dll Official managed assembly (net5.0 build)
lib/net461/ZXingCpp.dll Built from official sources (commit 287c85d) targeting .NET Framework 4.6.1 directly — no netstandard2.0 compatibility shims in your output
runtimes/win-x64/native/ZXing.dll Official win-x64 native binary

Zero external dependencies. The managed API is 100 % identical to ZXingCpp — your existing code works unchanged; only the package reference differs.

Requirements

  • Windows x64
  • net8.0 or .NET Framework 4.6.1+
  • PackageReference-style references
  • For .NET Framework projects: use AnyCPU (uncheck "Prefer 32-bit") or x64. Building for x86 produces a clear build-time error instead of a runtime failure.

Quick start

Write a QR code:

using ZXingCpp;

using var barcode = new Barcode("Hello ZXingCpp.Win!", BarcodeFormat.QRCode);
using var image = barcode.ToImage(new WriterOptions { Scale = 4 });
byte[] pixels = image.ToArray(); // grayscale bitmap, image.Width x image.Height

Read barcodes back:

using ZXingCpp;

var view = new ImageView(pixels, image.Width, image.Height, ImageFormat.Lum);
using var options = new ReaderOptions { TryHarder = true };
foreach (var result in BarcodeReader.Read(view, options))
    Console.WriteLine($"{result.Format}: {result.Text}");

When to use which package

  • Windows x64 desktop/service app, want a clean output directory? → ZXingCpp.Win
  • Need Linux, macOS or ARM64 targets? → use the official ZXingCpp instead

License & attribution

This package contains unmodified zxing-cpp binaries, released under the Apache-2.0 License, © zxing-cpp contributors. Source and original license: https://github.com/zxing-cpp/zxing-cpp Repackaged by GreatBear.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.1

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.5.3.1 45 10/16/2026
0.5.3 44 10/16/2026