TA3
TA3

Reputation: 402

.NET MessagingToolkit QRCode Issue

I have been trying to put the value "ddef04d8-7450-42d1-bc48-a94c3d6dae66" in to a QR code using the ".NET MessagingToolkit". The QR code generation process works fine. But when I actually scan the generated code the value comes as "000000408-7450-4201-0048-094030600066". The characters are replaced with "0"s. Please help. Thanks.

Upvotes: 0

Views: 2137

Answers (2)

Hamze Sheyikh Shoaei
Hamze Sheyikh Shoaei

Reputation: 823

it's works for me

QRCodeEncoder encoder = new QRCodeEncoder();
encoder.QRCodeErrorCorrect = QRCodeEncoder.ERROR_CORRECTION.H;
encoder.QRCodeScale = 10;
Bitmap img = encoder.Encode("ddef04d8-7450-42d1-bc48-a94c3d6dae66");

Upvotes: 0

Jijo Joy
Jijo Joy

Reputation: 11

replace encoding settings from ALPHA_NUMERIC to BYTE

E.g. QRCodeEncodeMode = QRCodeEncoder.ENCODE_MODE.BYTE

Upvotes: 1

Related Questions