Webority.QrCode 0.150.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Webority.QrCode --version 0.150.0
                    
NuGet\Install-Package Webority.QrCode -Version 0.150.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.150.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Webority.QrCode" Version="0.150.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.150.0
                    
#r "nuget: Webority.QrCode, 0.150.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.150.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.150.0
                    
Install as a Cake Addin
#tool nuget:?package=Webority.QrCode&version=0.150.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 net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net11.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: the App* tag helpers and the admin shell for Razor Pages heads, 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.151.0 0 11/13/2026
0.150.0 0 11/12/2026
0.149.0 404 11/11/2026
0.148.0 266 11/11/2026
0.147.0 144 11/11/2026
0.146.2 518 11/10/2026
0.146.1 139 11/10/2026
0.146.0 144 11/10/2026
0.145.0 118 11/10/2026
0.144.2 189 11/9/2026
0.144.1 109 11/9/2026
0.144.0 136 11/9/2026
0.143.1 181 11/9/2026
0.143.0 232 11/9/2026
0.142.0 177 11/9/2026
0.141.0 262 11/9/2026
0.140.3 283 11/9/2026
0.140.2 212 11/8/2026
0.140.1 219 11/8/2026
0.140.0 164 11/8/2026
Loading failed