.NET - Generate QR Code

Add QRCoder in NuGet

public static Bitmap GenerateQRCodeBitmap(string QRCode)
{
QRCodeGenerator qrGenerator = new QRCodeGenerator();
QRCodeData qrCodeData = qrGenerator.CreateQrCode(QRCode, QRCodeGenerator.ECCLevel.Q);
QRCode qrCode = new QRCode(qrCodeData);
return qrCode.GetGraphic(20);
}

1 comment

  • casino bonus codes casino slots slots for real money online slots [url=http://onlinecasinouse.com/# ]casino games [/url]

    Peaddypiopind

Leave a comment