What do I have to add to a C# program in order for it to s开发者_如何学编程earch for and update itself every time it loads up?
Check out Click Once: http://msdn.microsoft.com/en-us/library/142dbbz4%28v=VS.80%29.aspx
Have you looked at ClickOnce?
Take a look at ClickOnce.
If you want to do something that's hard or impossible with ClickOnce (which includes most non-trivial tasks), check out AppLife Update.
Take a look at ClickOnce
There is a .NET application updater component from Microsoft that comes with the source code:
http://windowsclient.net/articles/appupdater.aspx
I have used this on several projects and it works well.
精彩评论