CreditCardValidator 2.0.0

A library for validating and generating credit card numbers.

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.

Install-Package CreditCardValidator -Version 2.0.0
dotnet add package CreditCardValidator --version 2.0.0
<PackageReference Include="CreditCardValidator" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CreditCardValidator --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- Dropped support for .NET Framework 3.5.
- Added netstandard1.0 target.
- Added optional length parameter to CreditCardFactory.RandomCardNumber().
- Fixing typos.
- Removed support for Solo cards. The Solo card scheme was decommissioned permanently on 31 March 2011. CreditCardValidator is no longer detecting it.
- Removed project PCL Profile. It should be compatible with .NET Standard 1.0.
- Fixed issue where CreditCardFactory sometimes generates a number matching some brand for parameter CardIssuer.Unknown.

  • .NETCoreApp 1.0

  • .NETCoreApp 1.1

  • .NETCoreApp 2.0

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on CreditCardValidator:

Package Downloads
Visanet
Package Description
webpago.payment
A WebPago é uma plataforma financeira de multisserviços com foco em meio de pagamento, que ajuda seus clientes a cuidar de seu dinheiro. com uma nova experiência baseada na simplicidade e conectividade, reduzindo a necessidade de pessoal e burocracia.
NeoSmart.Payments
An abstraction around various payment providers for .NET, currently with support for Stripe, PayPal, PayPal Credit Cards (merchant services), CoinBase, and ChargeBee. Supports subscriptions and one-off payments.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.0 21,623 2/25/2020
1.4.6 177,504 11/18/2018
1.4.5 5,572 9/23/2018
1.4.1 25,897 11/6/2017
1.4.0 22,738 4/30/2016
1.3.0 36,395 9/8/2015
1.2.1 969 7/15/2015
1.2.0 788 7/13/2015