Advertisement
Guest User

Untitled

a guest
Mar 20th, 2015
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.26 KB | None | 0 0
  1. private static void AutoUpdaterOnCheckForUpdateEvent(UpdateInfoEventArgs args)
  2. {
  3.     if (args != null)
  4.     {
  5.         if (args.IsUpdateAvailable)
  6.         {
  7.             // Prompt user for update.
  8.             if (userWantsToUpade)
  9.             {
  10.                 AutoUpdater.Download(args.DownloadURL);
  11.             }
  12.          }
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement