- Home
- Testimonials
- Purchase
- Developer Tools
- Desktop Utilities
- Download
- Support
- Blog
- Company
Getting started with Visual C# .NET and Bytescout.BarCode Reader SDK for .NET 2.00 or higher
Getting started with barcode reading functionality with Visual C# and BarCode Reader SDK for .NET
Sample input image for barcode recognition:

Running sample barcode decoding application:
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Bytescout.BarCodeReader;
namespace SimpleTestSharp
{
class Program
{
const string path = "..\\..\\BarcodePhoto.jpg";
static void Main(string[] args)
{
Console.WriteLine("Reading barcode(s) from image {0}", Path.GetFullPath(path));
Reader bc = new Reader();
FoundBarcode[] barcodes = bc.ReadFrom(path);
foreach (FoundBarcode barcode in barcodes)
Console.WriteLine("Found barcode with type '{0}' and value '{1}'", barcode.Type, barcode.Value);
Console.WriteLine("Press any key to exit..");
Console.ReadKey();
}
}
}
Filed in:
BarCode Reader SDK
Tutorials:





