Kasun Peiris
Kasun Peiris

Reputation: 129

Updating the version of a C# program

I have a simple C# program where I need to update the version of it through the program (not manually. i.e. via a user input or so). Is there any way to do it?

Upvotes: 0

Views: 394

Answers (2)

abmv
abmv

Reputation: 7098

Try to download reflector.net , it has a self update facility.Basically you can add code to your program to check a url or webservice that send a message that you have a new version number.Then you prompt the user telling him that there is an update and on a different thread download the update,once you get the flag that the download is complete you unzip the update and then run another exe that will update your application or and you can shutdown you application in between.....

Upvotes: 1

Anders Arpi
Anders Arpi

Reputation: 8397

If I understand your question correctly, what you want is the version settings for a build? Right click your project-> properties -> assembly information.

Or are you looking for a way to do this through code?

Upvotes: 1

Related Questions