Click or drag to resize

FinancialCardVerifyCardChecksum Method

This method takes a card number and applies Luhn's algorithm to verify the card checksum. This method can detect minor transpositions and obviously invalid card numbers, but it cannot detect fake credit card numbers. See http://en.wikipedia.org/wiki/Luhn_algorithm

Namespace:  EasyScriptAPI
Assembly:  EasyScriptAPI (in EasyScriptAPI.dll) Version: 3.5.29.0 (3.5.29.0)
Syntax
public static bool VerifyCardChecksum(
	string cardNumber
)

Parameters

cardNumber
Type: SystemString
the credit card number to verify

Return Value

Type: Boolean
True if the card number passes, false otherwise
See Also