StampExe method
function TOgProtectExe.StampExe (const FileName : string ; EraseMarker : Boolean) : Boolean;

TurboPack OnGuard FMX

StampExe method

function TOgProtectExe.StampExe (const FileName : string ; EraseMarker : Boolean) : Boolean;

Navigation:  »No topics above this level«

StampExe method

function TOgProtectExe.StampExe (const FileName : string ; EraseMarker : Boolean) : Boolean;

Return to chapter overview

_bm1                StampExe marks the executable program with its size and a CRC value.

StampExe searches for a special marker that is used to mark the record where the size and CRC value are stored, calculates the executable’s size and CRC, and writes that information back to the record. If EraseMarker is True, the special marker used to locate the record is erased.

This method is not used by the TOgProtectExe component. It is provided so that you can use it to stamp the application you want to protect. You can write a simple application that uses StampExe to stamp the application you want to protect. Or you can use the STAMPEXE example project (which uses the StampExe method) to stamp the application you want to protect.

See also: UnStampExe