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.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Ali" <an*******@discussions.microsoft.com> wrote in message
news:9A**********************************@microsof t.com...
Hi,
What is the algorithm of checksum in windows file?
thanks Ali.