Re: Binary comparison of files

Zac Bowling <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.advanced
Message-ID <[email protected]>
MD5 ? SHA 1?

Microsoft's command line tool: http://support.microsoft.com/kb/841290
There is an MD5 and SHA1 checksum implementation in .NET as well.

Zac Bowling


On Wed, Jan 28, 2009 at 12:04 PM, Eddie Lascu <[email protected]> wrote:

> Hello again,
>
> I need to quickly check if the content of a file has changed. Time stamps
> when the file is created are not available, as this file is read from the
> Internet with XmlTextReader. I was thinking to use a quick binary
> comparison
> of the old image (provided I keep one) with the newly red file. Files are
> in
> size between 100 kb and 150 kb, so not too big. I need to come up with the
> fastest way to compare the files, because timing is an issue.
> Any suggestion as to what may be the best approach to do this?
>
> Regards,
> Eddie
>
> ===================================
> View archives and manage your subscription(s) at
> http://peach.ease.lsoft.com/archives
>

===================================
View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.