QRCoder 1.5.1

dotnet add package QRCoder --version 1.5.1
NuGet\Install-Package QRCoder -Version 1.5.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="QRCoder" Version="1.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add QRCoder --version 1.5.1
#r "nuget: QRCoder, 1.5.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.
// Install QRCoder as a Cake Addin
#addin nuget:?package=QRCoder&version=1.5.1

// Install QRCoder as a Cake Tool
#tool nuget:?package=QRCoder&version=1.5.1

About

QRCoder is a simple library, written in C#.NET, which enables you to create QR codes. It hasn't any dependencies to external libraries(*), is available as package on NuGet and supports .NET Framework, .NET Core, .NET Standard and .NET. A full list of supported target frameworks can be found here.


Documentation

👉 Your first place to go should be our wiki. Here you can find a detailed documentation of the QRCoder and its functions.

Release Notes

The release notes for the current and all past releases can be read here: 📄 Release Notes

Usage / Quick start

You only need a couple lines of code, to generate your first QR code.

QRCodeGenerator qrGenerator = new QRCodeGenerator();
QRCodeData qrCodeData = qrGenerator.CreateQrCode("The text which should be encoded.", QRCodeGenerator.ECCLevel.Q);
QRCode qrCode = new PngByteQRCode(qrCodeData);
byte[] qrCodeImage = qrCode.GetGraphic(20);

There are a plenty of other options. So feel free to read more on that in our wiki: Wiki: How to use QRCoder

Help & Issues

If you think you have found a bug or have new ideas or feature requests, then feel free to open a new issue: https://github.com/codebude/QRCoder/issues

In case you have a question about using the library (and couldn't find an answer in our wiki), feel free to open a new question/discussion: https://github.com/codebude/QRCoder/discussions

QRCoder is a project by Raffael Herrmann and was first released in 10/2013. It's licensed under the MIT license.


(*) Depending on the targeted framework the .NET libraries System.Drawing.Common and System.Text.Encoding.CodePages will used as package dependencies.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net5.0-windows7.0 is compatible.  net6.0 is compatible.  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.  net6.0-windows7.0 is compatible.  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 was computed.  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. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net35 is compatible.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  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 tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 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.

NuGet packages (318)

Showing the top 5 NuGet packages that depend on QRCoder:

Package Downloads
GoogleAuthenticator

Google Authenticator Two-Factor Authentication Library (Not officially affiliated with Google.)

2AxisTechnology.Core.CL

Plz don't install.

FenixAlliance.ACL.Dependencies

Application Component for the Alliance Business Suite.

LJH.BO.Abstractions

1、基础数据操作通用抽象库 2、.netore升级到3.1 2、补充nodejs 等操作 3、添加缓存ICacheMapperDbProvider, 处理文件缓存导致文件拒绝访问问题

Util.Tools.QrCode

Util.Tools.QrCode是Util应用框架的二维码操作类库。 Util是一个.net core平台下的应用框架,旨在提升小型团队的开发输出能力,由常用公共操作类(工具类)、分层架构基类、Ui组件,第三方组件封装,第三方业务接口封装,配套代码生成模板,权限等组成。

GitHub repositories (53)

Showing the top 5 popular GitHub repositories that depend on QRCoder:

Repository Stars
leiurayer/downkyi
哔哩下载姬downkyi,哔哩哔哩网站视频下载工具,支持批量下载,支持8K、HDR、杜比视界,提供工具箱(音视频提取、去水印等)。
nilaoda/BBDown
Bilibili Downloader. 一款命令行式哔哩哔哩下载器.
Richasy/Bili.Uwp
适用于新系统UI的哔哩
btcpayserver/btcpayserver
Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin payment processor.
RayWangQvQ/BiliBiliToolPro
B 站(bilibili)自动任务工具,支持docker、青龙、k8s等多种部署方式。敏感肌也能用。
Version Downloads Last updated
1.5.1 67,819 4/27/2024
1.5.0 1,511 4/26/2024
1.4.3 10,378,836 12/12/2021
1.4.2 1,353,868 11/23/2021
1.4.1 5,650,693 11/17/2020
1.3.9 3,519,488 4/8/2020
1.3.7 9,377 4/7/2020
1.3.6 2,712,249 6/25/2019
1.3.5 2,189,748 11/23/2018
1.3.4 105,957 11/17/2018
1.3.3 824,460 4/22/2018
1.3.2 664,487 10/21/2017
1.3.1 18,993 10/3/2017
1.3.0 83,433 9/23/2017
1.2.9 160,350 6/15/2017
1.2.8 32,105 5/18/2017
1.2.7 26,744 4/30/2017
1.2.6 65,329 3/16/2017
1.2.5 68,399 1/28/2017
1.2.4 3,166 1/26/2017
1.2.3 26,580 12/10/2016
1.2.2 43,667 9/13/2016
1.2.1 2,704 9/10/2016
1.2.0 8,871 9/8/2016
1.1.9 21,210 7/7/2016
1.1.8 3,000 6/27/2016
1.1.7 92,020 5/18/2016
1.1.6 2,553 5/18/2016
1.1.5 9,530 5/16/2016