These sample source codes on this page below are demonstrating how to create simple QR code in C#. ByteScout QR Code can create simple QR code. It can be used from C#. ByteScout QR Code is QR Code generation library. It provides full control on the quality, features and encoding. Can embed logo image right into QR Code itself. Batch barcode generation, and many special features like vCard or URL encoding are also supported.
This code snippet below for ByteScout QR Code works best when you need to quickly create simple QR code in your C# application. Follow the instructions from the scratch to work and copy the C# code. Use of ByteScout QR Code in C# is also explained in the documentation included along with the product.
Free trial version of ByteScout QR Code is available on our website. Documentation and source code samples are included.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
using System.Diagnostics; using Bytescout.BarCode; namespace GeneralExample { class Program { static void Main(string[] args) { // Create and activate QRCode instance using (QRCode barcode = new QRCode()) { barcode.RegistrationName = "demo"; barcode.RegistrationKey = "demo"; // Set value barcode.Value = "ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 1234567890"; // Uncomment if you don't need margins //barcode.Margins = new Margins(0, 0, 0, 0); //barcode.DrawQuietZones = false; // Save barcode image to file barcode.SaveImage("result.png"); } // Open the image in default image viewer (for demo purpose) Process.Start("result.png"); } } }
60 Day Free Trial or Visit ByteScout QR Code Home Page
Explore ByteScout QR Code Documentation
Explore Samples
Sign Up for ByteScout QR Code Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout QR Code Home Page
Explore ByteScout QR Code Documentation
Explore Samples
Sign Up for ByteScout QR Code Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples