NumberInfo and CardName Class Library


NumberInfo Members

Sets the properties to pass to the Number method of the CreditCardNumberGenerator class

Properties

  Name Description
Seed Sets the seed value for the pseudo-random generator. The seed must be an integer value between 0 and 2,147, 483,647. The default value is 0.
CardType An integer value that sets the specific credit card issuing company via the CardName properties. The default value is American Express.
BankIdNumber Sets the value representing a valid Bank ID number (BIN) for cards with multiple valid BIN numbers. If the ValidBin property is set to false this property is ignored.
CardLength Sets the value representing a valid card length for cards with multiple valid card lengths. If the ValidCardLength is set to false this property is ignored.
ValidBin Sets the value to determine whether the BIN number for the selected credit card type is valid. The default value is true.
ValidCardLength Sets the value to determine whether the card length for the selected credit card type is valid. The default value is true.
ValidChecksum Sets the value to determine whether the checksum used to validate a credit card number satisfies the validation requirements. The default value is true.

Remarks


CardName Members

Sets the properties to pass to the CardType property of the NumberInfo struct

Properties

  Name Description
AmericanExpress Sets the value for American Express credit cards. The default value is 0.
DinersClubCarteBlanche Sets the value for Diners Club Carte Blanche credit cards. The default value is 1.
DinersClubInternational Sets the value for Diners Club International credit cards. The default value is 2.
DinersClub Sets the value for Diners Club credit cards. The default value is 3.
DiscoverCard Sets the value for Discover Card credit cards. The default value is 4.
JCB Sets the value for JCB credit cards. The default value is 5.
Laser Sets the value for Laser credit cards. The default value is 6.
Maestro Sets the value for Maestro credit cards. The default value is 7.
MasterCard Sets the value for Master Card credit cards. The default value is 8.
Solo Sets the value for Solo credit cards. The default value is 9.
Switch Sets the value for Switch credit cards. The default value is 10.
Visa Sets the value for Visa credit cards. The default value is 11.
VisaElectron Sets the value for Visa Electron credit cards. The default value is 12.
NotAssignedBin Sets the value for unassigned BIN numbers. The default value is 13.

Remarks