This project has moved and is read-only. For the latest updates, please go here.

Checking whether there is an update?

Jun 17, 2013 at 1:55 AM
Is there a function I can call to check whether there is an update?

I made a button "checking for update", but it will be great if it can tell user "you have the latest version" if there is no update. So I was wondering is there a function I can call to check if there is any update? AutoUpdater.Start() doesn't return a value.


Thanks!
Sky
Jun 17, 2013 at 6:47 AM
You can do this by by adding else clause after following if statement in AutoUpdater.cs. In the else clause you can return false.
if (CurrentVersion > InstalledVersion)
{
}