I'm creating an 'updater' for my software that will automatically retrieve the latest and most up-to-date binary executable (.exe) from my server. The software will generate an Http request to a php script that returns a string that contains the latest software hash back to the application. If the returned hash is different from the hash of the local version of the software then it will automatically update.
My question is, which is the best type of hash to use that can be generated via. both php and c-sharp?
Also, do you think this is a good method for updating? I'm trying to give my application a seamless effect, where the user doesn't realise that the software has been updated and such.
Any opinions are welcome :)
Many Thanks.