User:RhoSigma/Test: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
*[back to Table of Contents](_Md5_Contents.html)*
Compute the MD5 Message-Digest of the specified file. The file can contain any text or binary data.


----------
{{PageSyntax}}
: {{Parameter|digest$}} = [[GetFileMD5$]] ({{Parameter|FileSpec$}})


GetFileMD5$ *(function)*
------------------------
Compute the MD5 Message-Digest of the specified file. The file can contain
any text or binary data.


----------
{{PageParameters}}
* {{Parameter|digest$}} The MD5 Message-Digest of the given file as hexadecimal string.
** Will be an empty string, if the file could not be opened (either not found or not accessible).
* {{Parameter|FileSpec$}} The path/file specification of the file you want to get the MD5 Message-Digest from.


>>>>> ***SYNTAX:***
>
    digest$ = GetFileMD5$ (FileSpec$)


----------
{{PageNavigation}}
 
>>>>> ***INPUTS:***
>#### FileSpec$ *(STRING)*
- The path/file specification of the file you want to get the MD5
Message-Digest from.
 
----------
 
>>>>> ***RESULT:***
>#### digest$ *(STRING)*
- The MD5 Message-Digest of the given file as hexadecimal string.
- Will be an empty string, if the file could not be opened (either not
found or not accessible).
 
----------
 
*[back to Table of Contents](_Md5_Contents.html)*

Revision as of 16:32, 30 May 2024

Compute the MD5 Message-Digest of the specified file. The file can contain any text or binary data.

Syntax

digest$ = GetFileMD5$ (FileSpec$)


Parameters

  • digest$ The MD5 Message-Digest of the given file as hexadecimal string.
    • Will be an empty string, if the file could not be opened (either not found or not accessible).
  • FileSpec$ The path/file specification of the file you want to get the MD5 Message-Digest from.



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link