Counter Property
The counter.
Syntax
ANSI (Cross Platform) int64 GetCounter();
int SetCounter(int64 lCounter); Unicode (Windows) LONG64 GetCounter();
INT SetCounter(LONG64 lCounter);
@property (nonatomic,readwrite,assign,getter=counter,setter=setCounter:) long long counter; - (long long)counter; - (void)setCounter:(long long)newCounter;
#define PID_OCRA_COUNTER 6 IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_OCRA_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_OCRA_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This property specifies the counter.
If a counter is required this must be set before calling CalculateResponse and VerifyResponse. To determine if a counter is required assign OCRASuite to the OCRA suite and check the value of RequireCounter.
The counter value should begin at 0 be incremented until the maximum value is reached. After the maximum is reached the counter value should start again at 0.
Data Type
Long64