QRCoder.Xaml 1.6.0

dotnet add package QRCoder.Xaml --version 1.6.0                
NuGet\Install-Package QRCoder.Xaml -Version 1.6.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="QRCoder.Xaml" Version="1.6.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add QRCoder.Xaml --version 1.6.0                
#r "nuget: QRCoder.Xaml, 1.6.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.
// 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

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

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 3.5

  • .NETFramework 4.0

  • net5.0-windows7.0

  • net6.0-windows7.0

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 (3)

Showing the top 3 popular GitHub repositories that depend on QRCoder.Xaml:

Repository Stars
2dust/clashN
A clash client for Windows, support Mihomo
HMBSbige/BilibiliLiveRecordDownLoader
Bilibili 直播录制
Alex4SSB/ADB-Explorer
A fluent UI for ADB on Windows
Version Downloads Last updated
1.6.0 8,312 6/30/2024
1.5.1 5,752 4/27/2024
1.5.0 155 4/26/2024
1.4.3 165,553 12/12/2021