Nager.ArticleNumber 1.0.7 Prefix Reserved

Install-Package Nager.ArticleNumber -Version 1.0.7
dotnet add package Nager.ArticleNumber --version 1.0.7
<PackageReference Include="Nager.ArticleNumber" Version="1.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nager.ArticleNumber --version 1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nager.ArticleNumber, 1.0.7"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Nager.ArticleNumber as a Cake Addin
#addin nuget:?package=Nager.ArticleNumber&version=1.0.7

// Install Nager.ArticleNumber as a Cake Tool
#tool nuget:?package=Nager.ArticleNumber&version=1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Nager.ArticleNumber

Validate article numbers (EAN8, EAN13, GTIN, ISBN10, ISBN13, ISSN, UPC, ASIN). Detect the article number type of a given code

Examples

Detect article number type

var articleNumberType = ArticleNumberHelper.GetArticleNumberType("4002515289693");
if (articleNumberType == ArticleNumberType.EAN13)
{
    //print barcode
}

Validate article number

var isIsbn = ArticleNumberHelper.IsValidIsbn10("3551559015");
if (isIsbn)
{
    //buy book
}
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net5.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Nager.ArticleNumber:

Package Downloads
Nager.magnamarum.AmazonProductAdvertising

Amazon Product Advertising API, Supports ItemSeach with ASIN, EAN, UPC and ISBN, ItemLookup and BrowseNodeLookup

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.7 1,393 9/30/2021
1.0.6 1,752 5/19/2021
1.0.5 19,074 6/28/2019
1.0.4 10,494 2/23/2018
1.0.3 35,306 8/15/2017
1.0.2 2,378 7/21/2017
1.0.1 19,525 5/6/2016
1.0.0 709 5/6/2016

Fix GetArticleNumberType