ValidityTime Property

The validity time of the created password.

Syntax

ANSI (Cross Platform)
int GetValidityTime();

Unicode (Windows)
INT GetValidityTime();
@property (nonatomic,readonly,assign,getter=validityTime) int validityTime;
- (int)validityTime;
#define PID_TOTP_VALIDITYTIME 4

IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_TOTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

0

Remarks

This property returns the remaining validity time in seconds of the created password. After calling CreatePassword this property may be queried to determine for how many more seconds the password will be valid. If the password is no longer valid this property returns 0.

This property is read-only.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 C++ Edition - Version 20.0 [Build 8155]