Hi,
You can compute a hash value (MD5 or SHA) on a file content, store it
somewhere and then re-compute the hash and compare to the stored value. If
they are not equal, the file has changed. .NET Framework has a built-in
implementation for hash computation in the System.Security.Cryptography
namespace.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"Jesper." <an*******@discussions.microsoft.com> wrote in message
news:05****************************@phx.gbl...
Hi,
Once I heard something about a files checksum. Is there a
smart way to verify to some degree that the content of a
file has not been changed in C#.
best regards Jesper.