Dedge.Cardizer 0.9.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Dedge.Cardizer --version 0.9.2                
NuGet\Install-Package Dedge.Cardizer -Version 0.9.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.Cardizer" Version="0.9.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dedge.Cardizer --version 0.9.2                
#r "nuget: Dedge.Cardizer, 0.9.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.Cardizer as a Cake Addin
#addin nuget:?package=Dedge.Cardizer&version=0.9.2

// Install Dedge.Cardizer as a Cake Tool
#tool nuget:?package=Dedge.Cardizer&version=0.9.2                

Cardizer is a credit card randomizer to test application.

Keep in mind that all credit card numbers generated with Cardizer are completely random and do not hold any real life value.


  • Easy to use
  • Easy to extend
  • Thread safe
  • Check with the Luhn's algorithm
  • 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

Getting Started

Install the Dedge.Cardizer NuGet package:

PM> Install-Package Dedge.Cardizer

Alternatively you can also use the .NET CLI to add the packages:

dotnet add package Dedge.Cardizer

Next create a .net application and use Dedge.Cardizer:

open System

let main _ =
    Dedge.Cardizer.NextVisa () |> printfn "Visa: %s"

or in C#:

static void Main(string[] args)
    var card = Dedge.Cardizer.NextVisa();


Visa: 4127540509730813

Of course the credit card value is going to be randomized.

Sample applications

There is a F# sample application which can be found in the App folder and a C# sample application which can be found in the AppCs folder.


Help and feedback is always welcome and pull requests get accepted.

  • First open an issue to discuss your changes
  • After your change has been formally approved please submit your PR against the main branch
  • Please follow the code convention by examining existing code
  • Add/modify the as required
  • Add/modify unit tests as required
  • Please document your changes in the upcoming release notes in
  • PRs can only be approved and merged when all checks succeed (builds on Windows, MacOs and Linux)



Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.10.0 3,167 2/10/2022
0.9.2 637 1/20/2022
0.9.0 584 11/23/2021
0.8.0 920 10/18/2021
0.7.0 734 10/7/2021
0.6.0 468 10/5/2021
0.6.0-beta 372 9/20/2021
0.5.0-alpha 765 9/13/2021
0.4.0-alpha 499 6/1/2021
0.3.0-beta 666 4/1/2021