J
Jayesh Sorathia
Hash code of a file is useful for check that file contents is changed over the time or not.
First time you calculate hash code of a file and store , after some time period you again calculate hash code of a file and compare with stored hash code, If hash code is changed that means contents of the file is changed.
You can create a cryptographic hash code of the file using the ComputeHash method of the System.Security.Cryptography.HashAlgorithm class.
To view full article visit this link. Link... http://jayeshsorathia.blogspot.com/2012/07/net-tips-c-tip-check-file-contents-is.html
First time you calculate hash code of a file and store , after some time period you again calculate hash code of a file and compare with stored hash code, If hash code is changed that means contents of the file is changed.
You can create a cryptographic hash code of the file using the ComputeHash method of the System.Security.Cryptography.HashAlgorithm class.
To view full article visit this link. Link... http://jayeshsorathia.blogspot.com/2012/07/net-tips-c-tip-check-file-contents-is.html