Is there any way to find a specific website for the download link if it changed?. It's hard to explain it by words but I'll try.
Let's say this is the WinRar website and this is its current download link.
I'll download it using this code:
Directory.CreateDirectory("C:\\Winrar");
WebClient WClient = new WebClient();
var WinRar = "https://www.win-rar.com/postdownload.html?&L=0";
WClient.DownloadFile(WinRar, "C:\\Winrar");
WClient.Dispose();
But what if WinRAR updates? What if it changed its download link? How will I autodetect that and change the WinRar variable to its new download link?
Thanks :)
Edit: I meant to say that if the link changes in the WinRAR site. It would detect it. Sorry for the confusion :)