GetCodeType
function GetCodeType (const Key : TKey; const Code : TCode) : TCodeType;
TCodeType = (ctDate, ctDays, ctRegistration, ctSerialNumber, ctUsage, ctNetwork, ctSpecial, ctUnknown);
GetCodeType function GetCodeType (const Key : TKey; const Code : TCode) : TCodeType; TCodeType = (ctDate, ctDays, ctRegistration, ctSerialNumber, ctUsage, ctNetwork, ctSpecial, ctUnknown); |
GetCodeType returns the type of code passed as the Code parameter.
Key must be the same key that was used when the code was created or ctUnknown is returned.
This routine is defined in the OnGuard unit. (as of 1.15 this routine has been moved to the OgUtil unit)