DEdge.Cardidy
0.6.2
dotnet add package DEdge.Cardidy --version 0.6.2
NuGet\Install-Package DEdge.Cardidy -Version 0.6.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DEdge.Cardidy" Version="0.6.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DEdge.Cardidy --version 0.6.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DEdge.Cardidy, 0.6.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DEdge.Cardidy as a Cake Addin #addin nuget:?package=DEdge.Cardidy&version=0.6.2 // Install DEdge.Cardidy as a Cake Tool #tool nuget:?package=DEdge.Cardidy&version=0.6.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Cardidy is a .net library to identify credit card number and cvv. Maintained by folks at D-EDGE.## Features* Easy to use
- Easy to extend
- Easy to maintain (Regex-free)
- Up-to-date with Wikipedia
- Check with the Luhn's algorithm
- Can check for Cvv
- Can guess anonymized credit card
- Can guess truncated creditcard card
- Support for Visa credit card
- Support for Jcb credit card
- Support for Amex credit card
- Support for Discover credit card
- Support for MasterCard credit card
- Support for more...## Getting Started as libraryInstall the DEdge.Cardidy NuGet package: PM> Install-Package DEdge.CardidyAlternatively you can also use the .NET CLI to add the packages: dotnet add package DEdge.CardidyNext create a .net application and use DEdge.Cardidy:
csharp var card = DEdge.Cardidy.Identify("4127540509730813").Single(); Console.WriteLine(card); // print Visa
or in F#:```fsharp open System
[<EntryPoint>]
let main _ =
let isVisa = DEdge.Cardidy.Identify "4127540509730813" |> Seq.head = DEdge.CardType.Visa
printfn "%b" isVisa
0
```## Getting Started working on Cardidy* git clone git@github.com:d-edge/Cardidy.git
cd Cardidy
dotnet test
Let's go 😄## NoteThe library mostly follows the Wikipedia's page: Payment card number. On Cardidy, we made some modifications though:* Diners Club International is known as Diners Club## LicenseMIT
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.6.2 | 661 | 2/19/2024 |
0.6.0 | 1,082 | 12/29/2022 |
0.5.0 | 2,532 | 2/11/2022 |
0.4.0 | 826 | 1/6/2022 |
0.3.0 | 649 | 1/6/2022 |
0.2.0 | 3,689 | 11/25/2021 |
0.1.0-beta | 779 | 10/7/2021 |
0.1.0-alpha | 571 | 10/6/2021 |