Example #1
0
 public bool CheckForUpdates()
 {
     //if (NetTools.IsConnected()) {
     // Load the installed package list
     updater.LoadInstalledPackageList();
     updater.InstallationComplete += new EventHandler(updater_InstallationComplete);
     lastCheckResult = updater.CheckForUpdates(UpdateURL);
     return(lastCheckResult.PackagesToUpdate.Count != 0);
     //} else {
     //    return false;
     //}
 }