int thisVersion = 1;
void checkForUpdates() {
string[] lns = new System.Net.WebClient().DownloadString("TXT FILE LINK OR DROPBOX LINK THAT ENDS IN DL=1").Split('\n'
;
if (int.Parse(lns[0]) > thisVersion) {
new System.Net.WebClient().DownloadFile(lns[1], Application.ExecutablePath.Insert(Application.ExecutablePath.Length - 4, " " + thisVersion.ToString())); //this isn't async so it'll pause the thread
System.Diagnostics.Process.Start(Application.ExecutablePath.Insert(Application.ExecutablePath.Length - 4, " " + thisVersion.ToString()));
Application.Exit();//I know it's not pretty but I'm doing this on a website so clearly it wont be pretty
}
}
1
https://www.dropbox.com/s/gawykghypvbnda5/whatyoucalledit.txt?dl=1
int thisVersion = 1;
void checkForUpdates() {
string[] lns = new System.Net.WebClient().DownloadString("TXT FILE LINK OR DROPBOX LINK THAT ENDS IN DL=1").Split('\n'
;
if (int.Parse(lns[0]) > thisVersion) {
new System.Net.WebClient().DownloadFile(lns[1], Application.ExecutablePath.Insert(Application.ExecutablePath.Length - 4, " " + thisVersion.ToString())); //this isn't async so it'll pause the thread
System.Diagnostics.Process.Start(Application.ExecutablePath.Insert(Application.ExecutablePath.Length - 4, " " + thisVersion.ToString()));
Application.Exit();//I know it's not pretty but I'm doing this on a website so clearly it wont be pretty
}
}
1
https://www.dropbox.com/s/gawykghypvbnda5/whatyoucalledit.txt?dl=1
Copyright © 2025, NextGenUpdate.
All Rights Reserved.