Refer to this link
Open Source QRCode Library[
^]
Another simple code that you can implement:
1) Download Messaging Toolkit DLL from this link:
MessagingToolkit.QRCode.dll [
^]
2)Include its reference into your program and proceed as follows:
using MessagingToolkit.QRCode.Codec;
using MessagingToolkit.QRCode.Codec.Data;
using System.IO;
Encoding:
string yourcode= textBox1.Text;
QRCodeEncoder enc = new QRCodeEncoder();
Bitmap qrcode = enc.Encode(yourcode);
pictureBox1.Image = qrcode as Image;
Decoding:
QRCodeDecoder dec = new QRCodeDecoder();
textBox2.Text = (dec.decode(new QRCodeBitmapImage(pictureBox1.Image as Bitmap)));
Regards.. :laugh: