IsUsageCodeExpired
function IsUsageCodeExpired (const Key : TKey; const Code: TCode) : Boolean;

TurboPack OnGuard FMX

IsUsageCodeExpired

function IsUsageCodeExpired (const Key : TKey; const Code: TCode) : Boolean;

Navigation:  »No topics above this level«

IsUsageCodeExpired

function IsUsageCodeExpired (const Key : TKey; const Code: TCode) : Boolean;

Return to chapter overview

_bm1 IsUsageCodeExpired returns true if the Code has expired, otherwise false.

Key must be the same key that was used to create the code or the code is considered invalid. If the code is invalid, this function returns true.

This routine is defined in the OnGuard unit. (as of 1.15 this routine has been moved to the OgUtil unit)