CheckSum Algorithm.

  • Thread starter Thread starter Guest
  • Start date Start date
Ali,

A checksum of a file is really nothing more than a hash of the contents
of a file. There are number of hashing algorithms that are present in the
..NET framework, all of them in the System.Security.Cryptography namespace.
Specifically, you are looking for anything that derives from the
System.Security.Cryptography.HashAlgorithm class. The current list of
classes in the framework that derive from this class are as follows:

System.Security.Cryptography.KeyedHashAlgorithm
System.Security.Cryptography.MD5
System.Security.Cryptography.SHA1
System.Security.Cryptography.SHA256
System.Security.Cryptography.SHA384
System.Security.Cryptography.SHA512

One of these should suit your needs.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top