How to lookup a Barcode Value and return Product Data in C# .NET Framework

Install-Package Cloudmersive.APIClient.NET.Barcode -Version 2.0.2
using System;using System.Diagnostics;using Cloudmersive.APIClient.NET.Barcode.Api;using Cloudmersive.APIClient.NET.Barcode.Client;using Cloudmersive.APIClient.NET.Barcode.Model;namespace Example{public class BarcodeLookupEanLookupExample{public void main(){// Configure API key authorization: ApikeyConfiguration.Default.AddApiKey("Apikey", "YOUR_API_KEY");// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed// Configuration.Default.AddApiKeyPrefix("Apikey", "Bearer");var apiInstance = new BarcodeLookupApi();var value = value_example;  // string | Barcode valuetry{// Lookup a barcode value and return product dataBarcodeLookupResponse result = apiInstance.BarcodeLookupEanLookup(value);Debug.WriteLine(result);}catch (Exception e){Debug.Print("Exception when calling BarcodeLookupApi.BarcodeLookupEanLookup: " + e.Message );}}}}

--

--

--

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

TryHackMe — Retro

8 Weeks SQL Challenge Case Study #2 — Pizza Runners: Part II

Velero.io — Kubernetes DataProtection made easy! (Part1)

Create a VPC, NAT GateWayAnd Deploy Public WordPress Site With Private MYSQL Database Using…

Dijkstra’s Algorithm

5 Ways to Use the WordPress .htaccess File to Improve Your Site

Learn a Language: Python

How to Connect Microsoft Power BI with Hive?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cloudmersive

Cloudmersive

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

More from Medium

What is ‘Variables’ ? Understanding the Variables

Query an XML file using XQuery, Get Results in C#

Anatomy of a GUID

Troubleshooting: “.NET