IsSerialNumberCodeValidFor
function IsSerialNumberCodeValid (const Key : TKey; const Code : TCode; const SerialNumber : LongInt) : Boolean;
IsSerialNumberCodeValidFor returns true if Code is a valid serial number code and the SerialNumber matches, otherwise false.
Key must be the same key that was used to create the code or the code is considered invalid.
This routine is defined in the OgUtil unit.
Added in version 1.15.