function JwCompareFileHash(const FilePath: WideString; const OriginalHash: TJwFileHashData): Boolean;
|
Parameters |
Description |
|
const FilePath: WideString |
Defines a path to a file that is used to calculate a hash. |
|
const OriginalHash: TJwFileHashData |
Defines a hash that is compared to the hash of the file. |
Returns true if the hash of file and the given one is identical; otherwise false. If the parameter OriginalHash has a nil pointer the return value is also false.
raise EJwsclFileMappingException see TJwFileStreamEx.Create for more information. EJwsclSecurityException There can be other exceptions raised by TJwHash.Create, TJwHash.HashData and TJwHash.RetrieveHash.
JwCompareFileHash creates a hash from a given file and compares it to an already calculated hash.
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|