QRCoder.Xaml 1.4.3

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

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

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 Versions
.NET net5.0-windows7.0 net6.0-windows net6.0-windows7.0 net7.0-windows net7.0-windows7.0
.NET Framework net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 3.5

  • .NETFramework 4.0

  • net5.0-windows7.0

  • net6.0-windows7.0

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (3)

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

Repository Stars
2dust/v2rayN
A V2Ray client for Windows, support Xray core and v2fly core
2dust/clashN
A clash client for Windows, support clash core and Clash.Meta core
HMBSbige/BilibiliLiveRecordDownLoader
Bilibili 直播录制
Version Downloads Last updated
1.4.3 14,342 12/12/2021