Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WebClient webClient = new WebClient();
- if (!webClient.DownloadString("https://pastebin.com/raw/n77ayreS").Contains("1.1"))
- {
- 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)
- {
- System.Diagnostics.Process.Start("https://github.com/TomerGamerTV/Unreal-Cracking-Pack/releases");
- }
- else
- {
- }
- }
- else
- {
- notifyIcon1.Icon = Properties.Resources.Custom_Icon_Design_Flatastic_1_Information; //or any icon you like
- notifyIcon1.ShowBalloonTip(5000, "Check For Updates", "It Seems that there is no update\n and you are on the latest version!", ToolTipIcon.None);
- //notifyIcon1.ShowBalloonTip(5000);
- //Thread.Sleep(5000);
- notifyIcon1.Dispose();
- //MessageBox.Show("You are on the latest version!", "Check For Updates");
- }
Add Comment
Please, Sign In to add comment