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:
<p><em><a href="_Md5_Contents.html">back to Table of Contents</a></em></p>
*[back to Table of Contents](_Md5_Contents.html)*
<hr />
<h2>GetFileMD5$ <em>(function)</em></h2>
<p>Compute the MD5 Message-Digest of the specified file. The file can contain
any text or binary data.</p>
<hr />
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<p><strong><em>SYNTAX:</em></strong></p>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre><code>digest$ = GetFileMD5$ (FileSpec$)
</code></pre>


</blockquote>
----------
<hr />
 
<blockquote>
GetFileMD5$ *(function)*
<blockquote>
------------------------
<blockquote>
Compute the MD5 Message-Digest of the specified file. The file can contain
<blockquote>
any text or binary data.
<blockquote>
 
<p><strong><em>INPUTS:</em></strong></p>
----------
</blockquote>
 
</blockquote>
>>>>> ***SYNTAX:***
</blockquote>
>
</blockquote>
    digest$ = GetFileMD5$ (FileSpec$)
<h4>FileSpec$ <em>(STRING)</em></h4>
 
<ul>
----------
<li>The path/file specification of the file you want to get the MD5
 
Message-Digest from.</li>
>>>>> ***INPUTS:***
</ul>
>#### FileSpec$ *(STRING)*
</blockquote>
- The path/file specification of the file you want to get the MD5
<hr />
Message-Digest from.
<blockquote>
 
<blockquote>
----------
<blockquote>
 
<blockquote>
>>>>> ***RESULT:***
<blockquote>
>#### digest$ *(STRING)*
<p><strong><em>RESULT:</em></strong></p>
- The MD5 Message-Digest of the given file as hexadecimal string.
</blockquote>
- Will be an empty string, if the file could not be opened (either not
</blockquote>
found or not accessible).
</blockquote>
 
</blockquote>
----------
<h4>digest$ <em>(STRING)</em></h4>
 
<ul>
*[back to Table of Contents](_Md5_Contents.html)*
<li>The MD5 Message-Digest of the given file as hexadecimal string.</li>
<li>Will be an empty string, if the file could not be opened (either not
found or not accessible).</li>
</ul>
</blockquote>
<hr />
<p><em><a href="_Md5_Contents.html">back to Table of Contents</a></em></p>

Revision as of 16:24, 30 May 2024

  • [back to Table of Contents](_Md5_Contents.html)*

GetFileMD5$ *(function)*


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


>>>>> ***SYNTAX:*** >

   digest$ = GetFileMD5$ (FileSpec$)

>>>>> ***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)*