Does anyone know where there is a C # or dll code that can generate credit card number examples

For the application we are working on, I need to generate credit card samples that transmit the Moon algorithm, but which are also unique, so we cannot use examples of credit card numbers.

We should be able to generate about 300 card numbers at a time, and ideally I would be able to do this when creating my input.

Many thanks

+5
source share
5 answers

Create random numbers, then count the checksum number.

Wikipedia - Luhn, , .

+8

, , , 0 (mod 10). , ( , ), , , .

+3

№ ? .. VISA, MasterCard AMEX ..

, , Graham King, .

The latest version of the Graham King generator (including C # code) can be found on GitHub .

+2
source

I took the code from Graham Kings website and ported it to C #, also sending a copy to Graham by email, you can find it here link text

+2
source

If you need a list to check each card, you will find it here. How to test interaction with credit cards?

+1
source

All Articles