I’m trying to make a very simple updater app that reads current version.txt file contents and checks if it’s the same or greater (in which case update starts).
This post helped me make a working app, but it causes a significant pause in my main app. Could it work faster or is there an easier way to load text from online .txt file?
UPD: for some reason the ~15 second lag only happens at first run, all consequent DownloadStrings work as fast as they should until the app is closed.
The pause was caused by default proxy settings. Solution is in my other question:
WebClient.DownloadString takes about 15 seconds when first called