download an exe file.
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
Hi All.:) i need the code to download an exe file using asp.net and C#. and make the option to save and run after the exe file download. thanks srinandan.
WebClient Client = new WebClient (); Client.DownloadFile("http:\\blabla.com\file.exe", "file.exe");
To run it, use the ProcessStart class : http://www.csharp-station.com/HowTo/ProcessStart.aspx