QRCoder.Xaml
1.6.0
dotnet add package QRCoder.Xaml --version 1.6.0
NuGet\Install-Package QRCoder.Xaml -Version 1.6.0
<PackageReference Include="QRCoder.Xaml" Version="1.6.0" />
paket add QRCoder.Xaml --version 1.6.0
#r "nuget: QRCoder.Xaml, 1.6.0"
// Install QRCoder.Xaml as a Cake Addin #addin nuget:?package=QRCoder.Xaml&version=1.6.0 // Install QRCoder.Xaml as a Cake Tool #tool nuget:?package=QRCoder.Xaml&version=1.6.0
About
QRCoder.Xaml is an extension that provides the XamlQRCode
-renderer for the popular QRCoder.NET library. It allows you to render QRCodes as DrawingImage
-objects for usage in WPF/XAML-based projects.
For usage information see the demo code below. For more general information check the QRCoder-wiki.
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 four lines of code, to generate and view your first QR code.
using (QRCodeGenerator qrGenerator = new QRCodeGenerator())
using (QRCodeData qrCodeData = qrGenerator.CreateQrCode("The text which should be encoded.", eccLevel))
using (XamlQRCode qrCode = new XamlQRCode(qrCodeData))
{
DrawingImage qrCodeAsXaml = qrCode.GetGraphic(20);
}
Optional parameters and overloads
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
Legal information and credits
QRCoder is a project by Raffael Herrmann and was first released in 10/2013. It's licensed under the MIT license.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0-windows7.0 is compatible. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows 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. |
NuGet packages (3)
Showing the top 3 NuGet packages that depend on QRCoder.Xaml:
Package | Downloads |
---|---|
SuperClassLib
Package Description |
|
H.Controls.QRCoderBox
WPF轻量控件和皮肤库 |
|
QRCoderLite
Package Description |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on QRCoder.Xaml:
Repository | Stars |
---|---|
2dust/clashN
A clash client for Windows, support Mihomo
|
|
HMBSbige/BilibiliLiveRecordDownLoader
Bilibili 直播录制
|
|
InvisibleManVPN/InvisibleMan-XRayClient
A client for xray core
|
|
Alex4SSB/ADB-Explorer
A fluent UI for ADB on Windows
|
Release notes: https://github.com/codebude/QRCoder/wiki/Release-notes