QRCoder.Xaml 1.8.0 (original) (raw)

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/Shane32/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/Shane32/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. net9.0-windows was computed. net10.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.

Include prerelease

Include vulnerable

Include deprecated

Version Downloads Last Updated
1.8.0 2,571 4/4/2026
1.7.0 25,130 10/9/2025
1.6.0 153,282 6/30/2024
1.5.1 23,392 4/27/2024
1.5.0 16,160 4/26/2024
1.4.3 399,484 12/12/2021