Thanks for posting your question in the Microsoft Q&A forum.
You can use libraries like ZXing.Net to generate QR codes.
static Bitmap GenerateQRCode(string data, int width, int height)
{
BarcodeWriter barcodeWriter = new BarcodeWriter();
BarcodeWriter.Format = BarcodeFormat.QR_CODE;
BarcodeWriter.Options = new ZXing.Common.EncodingOptions
{
Width = width,
Height = height,
Margin = 0
};
ZXing.Common.BitMatrix bitMatrix = barcodeWriter.Encode(data);
Bitmap qrCodeBitmap = barcodeWriter.Write(bitMatrix);
Bitmap resizedBitmap = new Bitmap(qrCodeBitmap, new Size(width, height));
return resizedBitmap;
}
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful