Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Auto Updater

What would be the best way to include an updater built into the program?
I started developing a second form, but it just hangs when it tries to call to server and detect a version change, so is there another way I can go about this? Thanks in advance 👍
He Who Fights By The Sword, Also Dies By It Too.
(Jan 7, 2019 09:55 PM)KyFu Wrote:  What would be the best way to include an updater built into the program?
I started developing a second form, but it just hangs when it tries to call to server and detect a version change, so is there another way I can go about this? Thanks in advance 👍

https://hackforums.net/showthread.php?tid=5773508
buy me a coffee eth:0x88621A52aa5Eb3b6503628369687111810186c58
(Jan 7, 2019 10:05 PM)itcorp Wrote:  https://hackforums.net/showthread.php?tid=5773508

+3 for you sir, I searched but I missed that thread apparently. Thank you!
He Who Fights By The Sword, Also Dies By It Too.
(Jan 7, 2019 10:09 PM)KyFu Wrote:  +3 for you sir, I searched but I missed that thread apparently. Thank you!

np,at any time and thank you.
buy me a coffee eth:0x88621A52aa5Eb3b6503628369687111810186c58
Im suggesting THIS for a fast update check - download.
(Jan 9, 2019 02:44 AM)InterGalactic Wrote:  Im suggesting THIS for a fast update check - download.

Code
public static string Version = "VersionNumber";

Code
Why do it so complex when its this simple

        public static void UpdateOrNuh()
        {
                if (Version != new WebClient().DownloadString("Website.com/VersionNumber.txt"))
                {
                    Console.WriteLine("An Update For The Tool Has Been Found, Will Start Download Now!");
                    Process.Start("LinkToDownloadTheFileForUpdate");
                    //If you wanna kill the process to force update
                    Process.GetCurrentProcess().Kill();
            }
        }
(Jan 10, 2019 01:08 AM)-PUBG- Wrote:  
Code
public static string Version = "VersionNumber";

Code
Why do it so complex when its this simple

       public static void UpdateOrNuh()
       {
               if (Version != new WebClient().DownloadString("Website.com/VersionNumber.txt"))
               {
                   Console.WriteLine("An Update For The Tool Has Been Found, Will Start Download Now!");
                   Process.Start("LinkToDownloadTheFileForUpdate");
                   //If you wanna kill the process to force update
                   Process.GetCurrentProcess().Kill();
           }
       }

WE ARE DOING THE SAME THING! 😉


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by SoldiercrimesDec 31, 2017 04:16 AM 10 634 Dec 31, 2017 04:16 AM
Last Post: Hopsin
[Python] by xx1ben99xxNov 20, 2016 10:41 AM 2 150 Nov 20, 2016 10:41 AM
Last Post: xx1ben99xx
[.NET] by MagixHaxorzAug 3, 2016 02:21 PM 3 341 Aug 3, 2016 02:21 PM
Last Post: MagixHaxorz