JCL Help:PeVerifyCheckSum

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Verifies the checksum of a portable executable file.


Pascal

 function PeVerifyCheckSum(const FileName: TFileName): Boolean;


Parameters

Parameters Description
const FileName: TFileName Filename of the image whose checksum to verify.


Return Value

If the image's checksum is correct the function returns True, otherwise it returns False.


Description

PeVerifyCheckSum verifies the correctness of the checksum of the specified image. The image must be a valid portable executable file. Note that 0 is considered a valid checksum.


About

Unit

JclPeImage


Donator

Petr Vones


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page