AlexBaldwin42 / Vin

.NET Library for Vehicle Identification Numbers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vin

Build status NuGet Pre Release

This is a .NET library for Vehicle Identification Numbers.

Usage

    Vin.IsValid("11111111111111111") // --> true
    Vin.GetWorldManufacturer("1J4..............") // --> Jeep
    Vin.GetModelYear(".........D.......") // --> 2013
    Vin.GetModelYear('D') // --> 2013

Notes

  • IsValid assumes 9th digit is check digit.
  • GetWorldManufacturer uses combination of data from Wikibooks and here.
  • GetModelYear assumes 10th digit is model year.

About

.NET Library for Vehicle Identification Numbers

License:Apache License 2.0


Languages

Language:C# 99.8%Language:Batchfile 0.2%