DigitCheckPassed Property
Indicates the results of the Luhn Digit Check algorithm.
Syntax
ANSI (Cross Platform) int GetDigitCheckPassed(); Unicode (Windows) BOOL GetDigitCheckPassed();
@property (nonatomic,readonly,assign,getter=digitCheckPassed) BOOL digitCheckPassed; - (BOOL)digitCheckPassed;
#define PID_CARDVALIDATOR_DIGITCHECKPASSED 7 IPWORKS3DS_EXTERNAL void* IPWORKS3DS_CALL IPWorks3DS_CardValidator_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
Default Value
FALSE
Remarks
The ValidateCard method checks whether or not the CardNumber conforms to the mod-10 digit check algorithm, and stores that result in the DigitCheckPassed property. Note that a card may pass this check and still be an invalid card. (Either a fake number that passes the digit check, or an unknown CardType).
This property is read-only.
Data Type
Boolean