Webority.QrCode 0.19.0

dotnet add package Webority.QrCode --version 0.19.0
                    
NuGet\Install-Package Webority.QrCode -Version 0.19.0
                    
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="Webority.QrCode" Version="0.19.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Webority.QrCode" Version="0.19.0" />
                    
Directory.Packages.props
<PackageReference Include="Webority.QrCode" />
                    
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 Webority.QrCode --version 0.19.0
                    
#r "nuget: Webority.QrCode, 0.19.0"
                    
#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 Webority.QrCode@0.19.0
                    
#: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=Webority.QrCode&version=0.19.0
                    
Install as a Cake Addin
#tool nuget:?package=Webority.QrCode&version=0.19.0
                    
Install as a Cake Tool

Webority.QrCode

A dependency-free QR code encoder for .NET. Byte mode (UTF-8), versions 1 to 40, all eight mask patterns scored by the standard's penalty rules, Reed-Solomon error correction.

Published publicly so dotnet restore needs no private feed. Built for Webority products; no support commitment outside them.

Use

using Webority.QrCode;

QrMatrix matrix = QrEncoder.Encode("otpauth://totp/Example:user?secret=JBSWY3DPEHPK3PXP");
string svg = matrix.ToSvg();          // black on white, 4-module quiet zone
bool dark = matrix.IsDark(row, col);  // or draw the modules yourself

The error correction level defaults to Medium and is a minimum: it is raised while the data still fits the same version. Text longer than a version 40 symbol holds throws ArgumentException.

In a Razor page, <app-qr-code value="..."> from Webority.Ui.Razor renders the same symbol.

Licence

The encoder is a port of Project Nayuki's QR Code generator library (MIT). Its notice ships in THIRD-PARTY-NOTICES.txt inside this package.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Webority.QrCode:

Package Downloads
Webority.Ui.Razor

Webority shared Razor component library — Tag Helpers + ViewComponents for the marketing subset, bundling the @webority/theme design system as a static web asset.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.19.0 0 10/2/2026
0.18.1 0 10/2/2026
0.18.0 29 10/1/2026