Skip to main content
CreditCardValidator package icon

CreditCardValidator

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.

Total Downloads
3.7M
3,745,531
Published
Feb 25, 2020
Latest stable version

Install

.NET CLI
dotnet add package CreditCardValidator --version 2.0.0
Package Manager Console
Install-Package CreditCardValidator -Version 2.0.0
PackageReference
<PackageReference Include="CreditCardValidator" Version="2.0.0" />

Frameworks

.NETCoreApp1.0 .NETCoreApp1.1 .NETFramework4.0 .NETFramework4.5 .NETFramework4.6 .NETStandard1.0 .NETCoreApp2.0 .NETStandard2.0

Dependencies

[1.0.5, )
[1.1.2, )
NETStandard.Library
.NETStandard1.0
[1.6.1, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 8 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.