CreditCardValidator 1.4.5

Credit Card Validator

A library for validating credit card numbers and generating ones.

CreditCardValidator helps you implementing validations for the most common credit card brands, verifying length, prefixes and checking the card number through the Luhn algorithm if necessary.

There is a newer version of this package available.
See the version list below for details.
Install-Package CreditCardValidator -Version 1.4.5
dotnet add package CreditCardValidator --version 1.4.5
<PackageReference Include="CreditCardValidator" Version="1.4.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CreditCardValidator --version 1.4.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- .NET Core 2.0 support.
- PCL 259 support.
- More tests.
- Adding support for Visa 19 digits cards.
- Improved Diners Club detection.
- New string extensions: CreditCardBrandIgnoreLength() and CreditCardBrandNameIgnoreLength(); Ignores the length check so it is possible to pass just the beginning of the card number and gets its issuer.

  • .NETCoreApp 1.0

  • .NETCoreApp 1.1

  • .NETCoreApp 2.0

    • No dependencies.
  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.7.1

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.4.6 25,366 11/18/2018
1.4.5 3,513 9/23/2018
1.4.1 20,584 11/6/2017
1.4.0 13,610 4/30/2016
1.3.0 24,642 9/8/2015
1.2.1 621 7/15/2015
1.2.0 466 7/13/2015