.NET SDK to Generate & Recognize Barcodes on Supported Platforms

C# .NET Cloud SDK to read Linear, 2D, Postal barcodes of 60+ symbologies from Local image or image URL or request body for manipulation.

  Start Free Trial
Aspose.BarCode Cloud SDK for .NET

Aspose.BarCode Cloud SDK for .NET


Aspose.BarCode Cloud SDK for .NET is developed on top of Cloud REST API for Linear, 2D and postal Barcode generation and recognition in the cloud. The SDK recognizes and generates Barcode images in a variety of formats. The SDK allows to specify Barcode image attributes like image width, height, border style and output image format in order to customize the generation process. Developers can also specify the Barcode type and text attributes such as text location and font styles in order to suit the application requirements.


Advanced Features of Barcode processing SDK



Create & save Barcode to image file


Recognize Barcode from image file


Enhance your application workflow by adding barcode functionality


Embed in documents to aid traceability


Use the recognition functions to drive your real-life work processes


Specify barcode image settings


Set text attributes


.NET Cloud SDK as a wrapper around REST API


Comprehensive Examples in .NET

Get Started with Barcode Processing

It is easy to get started with Aspose.BarCode Cloud SDK for .NET and there is nothing to install. Simply create an account at Aspose for Cloud and get your application information. Once you have the App SID & KEY, you are ready to give the Aspose.BarCode Cloud SDK for .NET a try on any supported platforms.

Barcode Generation & Recognition

A barcode is an optical representation of data, which can be read by a machine where it represents information about the item or product it is attached to and helps to quickly read information using a barcode reader. The barcode is represented by parallel lines, geometric patterns or symbols. Aspose.BarCode Cloud SDK for .NET is suitable to Generate Barcode images from scratch and to Recognize any existing Barcodes from images. In fact Aspose.BarCode Cloud SDK for .NET contains all of these characteristics and provides reliable and accurate results both for Barcode generation and recognition features using a single SDK.

Generate a Barcode and save as Image - C#

// Instantiate Aspose BarCode Cloud API SDK
BarcodeApi barcodeApi = new BarcodeApi(Common.APP_KEY, Common.APP_SID, Common.BASEPATH);
// Invoke Aspose.BarCode Cloud SDK API to create barcode and save image to a stream
ResponseMessage apiResponse = barcodeApi.GetBarcodeGenerate("Aspose.BarCode", "QR", "PNG", 96.0f, 96.0f, 0.7f, 2.0f, "NO");
 // Download generated BarCode from API Response
System.IO.File.WriteAllBytes(Common.OUTFOLDER + "sample-barcode"+ "." + "PNG", apiResponse.ResponseStream);

Supported Barcode Symbologies

A symbology represents a relationship between the message and the Barcode and it provides all the information to encode and decode a message in the form of a Barcode. Aspose.BarCode Cloud SDK for .NET supports large number of linear, 1D, 2D and Postal barcode symbologies, and each symbology is a type of Barcode language. Furthermore, Aspose.BarCode Cloud SDK for .NET supports more than 40 Barcode symbologies and specified below is the list of currently supported symbologies:

  • EAN13 (Encode, decode)
  • EAN8 (Encode, decode)
  • UPCA (Encode, decode)
  • EAN13 (Encode, decode)
  • EAN8 (Encode, decode)
  • UPCA (Encode, decode)
  • UPCE (Encode, decode)
  • BooklandEAN (Encode, decode)
  • Interleaved2of5 (Encode, decode)
  • Standard2of5 (SCC14) (Encode, decode)
  • MSI (Encode, decode)
  • Code11 (Encode, decode)
  • Codabar (Encode, decode)
  • EAN14(SCC14) (Encode, decode)
  • SSCC18 (Encode, decode)
  • ITF14 (Encode, decode)
  • Matrix 2 of 5 Standard (Encode, decode)
  • PZN (Encode, decode)
  • USPS OneCode (Encode, decode)
  • EAN13 (Encode, decode)
  • Code128 Standard (Encode, decode)
  • EAN128 (Encode, decode)
  • Code39 Extended (Encode, decode)
  • Code39 Standard (Encode, decode)
  • Code93 Extended (Encode, decode)
  • Code93 Standard (Encode, decode)
  • IATA 2 of 5 (Encode, decode)
  • OPC (Encode, decode)
  • PDF417 (Encode, decode)
  • MacroPDF417 (Encode, decode)
  • DataMatrix (Encode, decode)
  • Aztec (Encode, decode)
  • QR (Encode, decode)
  • Italian Post 25 (Encode, decode)
  • Postnet (Encode, decode)
  • Planet (Encode, decode
  • Australia Post (Encode, decode)
  • Deutsche Post Identcode (Encode, decode)
  • Deutsche Post Leticode (Encode, decode)

Barcode Customization

Barcodes generated by Aspose.BarCode Cloud SDK for .NET can be customized e.g. size, foreground color, background color, specify codetext location, Rotate Barcode with suitable angle, caption (color, location and size) etc. It is ideal for generating barcodes for the most common barcoding application needs.


Support and Learning Resources


Aspose.BarCode also offers, BarCode processing SDKs for other popular languages, as listed below: