ByteScout QR Code SDK - C# - Create Simple QR Code - ByteScout

ByteScout QR Code SDK – C# – Create Simple QR Code

  • Home
  • /
  • Articles
  • /
  • ByteScout QR Code SDK – C# – Create Simple QR Code

How to create simple QR code in C# with ByteScout QR Code

The tutorial below will demonstrate how to create simple QR code in C#

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.

Try ByteScout QR Code today: Get 60 Day Free Trial or sign up for Web API

Program.cs
      
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"); } } }

Try ByteScout QR Code today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout QR Code page

Explore ByteScout QR Code documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next