Example #1
0
 public void PerformUpdate()
 {
     AppUpdater.ApplyUpdates(new AppSettings().GetString("UpdateManagerUrl")).ContinueWith(t =>
     {
         formMain.InvokeOnUiThreadIfRequired(() =>
         {
             formMain.Close();
             UpdateManager.RestartApp();
         });
     });
 }