Hack Forums
[C#] Download + Execute file from direct download site - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] Download + Execute file from direct download site (/showthread.php?tid=5458488)



Download + Execute file from direct download site - SIM-2059193 - Nov 8, 2016

I'm trying to work to put together some code that i could use to download and open a file from a link on my web server as a module for auto-update's. I'm pretty new with c# though and i don't expect any handouts but i would appreciate any hints for the general direction :)


* - +Haze - Nov 8, 2016

Look at the web client WebClient#DownloadFile method and to run a file look at the Process#Start method


* - SIM-2059193 - Nov 8, 2016

(Nov 8, 2016 08:14 PM)+Haze Wrote:  Look at the web client WebClient#DownloadFile method and to run a file look at the Process#Start method

ill take a look at that! ty vm