Webority.QrCode
0.19.0
dotnet add package Webority.QrCode --version 0.19.0
NuGet\Install-Package Webority.QrCode -Version 0.19.0
<PackageReference Include="Webority.QrCode" Version="0.19.0" />
<PackageVersion Include="Webority.QrCode" Version="0.19.0" />
<PackageReference Include="Webority.QrCode" />
paket add Webority.QrCode --version 0.19.0
#r "nuget: Webority.QrCode, 0.19.0"
#:package Webority.QrCode@0.19.0
#addin nuget:?package=Webority.QrCode&version=0.19.0
#tool nuget:?package=Webority.QrCode&version=0.19.0
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 | Versions 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. |
-
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.