Difference between revisions of "MD5FromFile"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <func>function MD5FromFile(const FileName: AnsiString): AnsiString;</func> ==Availability== SCAR Divi 3.12 > Current ==Description== This function hashes the con...")
 
 
Line 1: Line 1:
 
==Definition==
 
==Definition==
<func>function MD5FromFile(const FileName: AnsiString): AnsiString;</func>
+
<source lang="scar" lines="false">
 +
function MD5FromFile(const FileName: AnsiString): AnsiString;
 +
</source>
  
 
==Availability==
 
==Availability==

Latest revision as of 18:47, 26 June 2011

Definition

function MD5FromFile(const FileName: AnsiString): AnsiString;

Availability

SCAR Divi 3.12 > Current

Description

This function hashes the contents of a file with it's path given by FileName using the MD5 hashing algorithm.

Example

begin
  WriteLn(MD5FromFile(GetApplication.ExeName));
end.

See Also