Detect if EXE or assembly has changed

eljainc

Member
Joined
Apr 5, 2013
Messages
6
Programming Experience
5-10
Hello,
Does anybody know a way for a program to check to see if the EXE signature or assembly has changed. I am working with a program that resides on a network. During development, I replace the EXE file with a new version from time to time. If I had a timer running (say every minute or 30 seconds) which checks to see if the program has changed. How would I go about doing this in Visual Studio 2005/2008/2010 C# ?


Thanks
Mike
 

antpower

Member
Joined
Oct 28, 2014
Messages
5
Programming Experience
3-5
Simplest way (in my opinion) is to check the md5 checksum of the file, and see if it changed
 
Top Bottom