

If (BinaryData.SequenceEqual(MyReturnedData.BinaryValue))Ĭonsole.WriteLine("\t Binary Data Read and Written Perfectly") Var MyReturnedData = BarcodeReader.QuicklyReadOneBarcode("MyBinaryQR.png") QRCodeWriter.CreateQrCode(BinaryData, 500).SaveAsImage("MyBinaryQR.png") Create Some Binary Data - This example equally well for Byte and System.IO.Streamīyte BinaryData = 8.GetBytes("")

You will note that this feature is not common to many barcode libraries, making Iron Barcode unique in this capacity.

In this example, we will encode some binary data from a string, write that to a barcode in QR format, and then read that back as a bit array of binary data. Sometimes binary data is simply more space-efficient or more appropriate than dealing with text. QR codes are an excellent format for dealing with binary data. ' open the barcode htm, file in your default web browser MyVerifiedQR.SaveAsHtmlFile("MyVerifiedQR.html") MyVerifiedQR.ChangeBarCodeColor(Color.LightBlue)Ĭonsole.WriteLine(vbTab & " LightBlue is not dark enough to be read accurately. ("MyVerifiedQR.html") Imports Microsoft.VisualBasicĭim MyVerifiedQR = QRCodeWriter.CreateQrCodeWithLogo("", "visual-studio-logo.png", 350) open the barcode htm, file in your default web browser MyVerifiedQR.ChangeBarCodeColor(Color.LightBlue) Ĭonsole.WriteLine("\t LightBlue is not dark enough to be read accurately. Var MyVerifiedQR = QRCodeWriter.CreateQrCodeWithLogo("", "visual-studio-logo.png", 350)
