gettingstarted
[Top] [All Lists]

Re: md5 of binary file

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: md5 of binary file
From: Phil M <phil at mobleybros dot com>
Date: Fri, 29 Apr 2005 15:23:16 +0200
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <007e01c54bf3$ba7345e0$06370ec4 at valxp>
On Apr 28, 2005, at 3:11 PM, Val Raemaekers wrote:

Looking for some sample code to obtain an md5 hash for a binary file stored on disk

Just open the file using BinaryStream, and just write (where b is the BinaryStream instance):

  hashstring = MD5(b.Read(b.Length))

Just look up BinaryStream and FolderItem in the Language Reference if you need help getting the BinaryStream setup.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>