Hash.GetMD5File

Top  Previous  Next

Returns the MD5 hash value of the file with the supplied file name.

 

Syntax

function Hash.GetMD5File(Filename: string): string

 

Alternative Names

ibec_md5file

 

Description

Creates an MD5 hash value of the contents of the file.

 

Filename holds a a file name that needs to be hashed.

 

The Return Value is the MD5 hash digest string.

 

See Also

Hash.GetMD5

 

Example

execute UDSBlock returns (str_value varchar(100))

as

begin
  /* creates MD5 hash value for a file */

  str_value = Hash.GetMD5File('c:\data\test.txt');

  suspend; /* returns hash */

end