TomerGamerTV

eeeeeee

May 11th, 2020
2,015
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. WebClient webClient = new WebClient();
  2. if (!webClient.DownloadString("https://pastebin.com/raw/n77ayreS").Contains("1.1"))
  3. {
  4. if (MessageBox.Show("Looks like there is an available update, would you like to download it?", "Check For Updates", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
  5. {
  6. System.Diagnostics.Process.Start("https://github.com/TomerGamerTV/Unreal-Cracking-Pack/releases");
  7. }
  8. else
  9. {
  10.  
  11. }
  12. }
  13. else
  14. {
  15. notifyIcon1.Icon = Properties.Resources.Custom_Icon_Design_Flatastic_1_Information; //or any icon you like
  16. notifyIcon1.ShowBalloonTip(5000, "Check For Updates", "It Seems that there is no update\n and you are on the latest version!", ToolTipIcon.None);
  17. //notifyIcon1.ShowBalloonTip(5000);
  18. //Thread.Sleep(5000);
  19. notifyIcon1.Dispose();
  20. //MessageBox.Show("You are on the latest version!", "Check For Updates");
  21. }
Add Comment
Please, Sign In to add comment