CreditCardValidator 2.0.0

.NET Core 1.0 .NET Standard 1.0 .NET Framework 4.0
There is a newer version of this package available.
See the version list below for details.
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.
#r "nuget: CreditCardValidator, 2.0.0"
#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 CreditCardValidator as a Cake Addin
#addin nuget:?package=CreditCardValidator&version=2.0.0

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

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.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.0 netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wp8 wp81 wpa81
Windows Store netcore netcore45 netcore451
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .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 (5)

Showing the top 5 NuGet packages that depend on CreditCardValidator:

Package Downloads
DTF.Common.V2

Digital Tax Free basic models and abstractions.

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 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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.

FHPay

Simulated payment API for the FHOÖ SWK5 Apollo project assignment.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.1 159,341 10/1/2020
2.0.0 54,587 2/25/2020
1.4.6 327,203 11/18/2018
1.4.5 6,314 9/23/2018
1.4.1 32,035 11/6/2017
1.4.0 76,394 4/30/2016
1.3.0 44,843 9/8/2015
1.2.1 1,636 7/15/2015
1.2.0 1,406 7/13/2015

- 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.