QR Code Library for Microsoft Visual Studio 2008 C#

barangkali ada yang butuh library tersebut di applikasinya,
link download berikut hasil compilasi QR code Source, khusus hasil kompilasi saya, sudah kompatibel dengan VS 2008.

QRCODELIB

cara penggunaannya sebagai berikut :

tambahkan frase using :


using ThoughtWorks.QRCode.Codec;
 using ThoughtWorks.QRCode.Codec.Data;
 using ThoughtWorks.QRCode.Codec.Util;

kemudian, tambahkan fungsi berikut :


public Image EncodeQRCode(string code)
 {

Image img;
 QRCodeEncoder qrCodeEncoder = new QRCodeEncoder();
 qrCodeEncoder.QRCodeEncodeMode = QRCodeEncoder.ENCODE_MODE.ALPHA_NUMERIC;
 qrCodeEncoder.QRCodeScale = 4;
 qrCodeEncoder.QRCodeVersion = 7;
 qrCodeEncoder.QRCodeErrorCorrect = QRCodeEncoder.ERROR_CORRECTION.M;
 img = qrCodeEncoder.Encode(EncodePassword2(code));
 return img;
 }

hasil akhir fungsin berupa image, yang berasal dari encoding string dengan qrcode librari.

jangan lupa untuk mengexplore, modifikasi saja value di atas,
selamat mencoba

klo mau source code librarinya, bs kontak :
humsyong@yahoo.com

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s