Dazu gibt es im Internet C# Beispiele, z.B.:
Code: Select all
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Gma.QrCodeNet.Encoding;
using Gma.QrCodeNet.Encoding.Windows.Controls;
...
QrEncoder encoder = new QrEncoder(ErrorCorrectionLevel.H);
QrCode code = encoder.Encode(encodeString);
Renderer renderer = new Renderer(25, System.Drawing.Brushes.Black, System.Drawing.Brushes.White);
renderer.CreateImageFile(code.Matrix, IMAGE_NAME, ImageFormat.Png);