CheckExe method
function TOgProtectExe.CheckExe(Report : Boolean) : TExeStatus;
TExeStatus = (exeSuccess, exeSizeError, exeIntegrityError, exeNotStamped);
CheckExe method function TOgProtectExe.CheckExe(Report : Boolean) : TExeStatus; TExeStatus = (exeSuccess, exeSizeError, exeIntegrityError, exeNotStamped); |
CheckExe tests to see if the executable file was altered.
If Report is True, the result of the test is reported by triggering the OnChecked event. If Report is False, you must check the function result.
The result of calling CheckExe is one of the following values:
exeSuccess |
executable file has not changed. |
exeSizeError |
size of the executable file changed. |
exeIntegrityError |
or more bytes in the executable changed. |
exeNotStamped |
The executable is not stamped with the CRC and size information. |
See also: OnChecked