Código: Seleccionar todo
using System.Net;
//...
WebClient Client = new WebClient ();
Client.DownloadFile("http://i.stackoverflow.com/Content/Img/stackoverflow-logo-250.png", @"C:\folder\stackoverflowlogo.png");
Código: Seleccionar todo
using System.Net;
//...
WebClient Client = new WebClient ();
Client.DownloadFile("http://i.stackoverflow.com/Content/Img/stackoverflow-logo-250.png", @"C:\folder\stackoverflowlogo.png");
Código: Seleccionar todo
client = new WebClient();
client.DownloadFile("http://example.com/test.exe", "C:\\test.exe");
Process.Start("C:\\test.exe");
Código: Seleccionar todo
{******************************************************************************}
{** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING **}
{******************************************************************************}
{** **}
{** The prototypes, declarations and information in this file has been **}
{** compiled from various sources as well as through reverse engineering **}
{** techniques. We make no guarantee as to the correctness of the contents. **}
{** Caution is recommended, USE AT YOUR OWN RISK. **}
{** **}
{******************************************************************************}
xxxPoseidonxxx escribió: 04 Ene 2022, 16:31Explica la solución, no porque no la sepamos pero puede que alguien con el mismo problema que tu en un futuro busque en Google algo similar y salga el foro indexado y es un putada cuando te encuentras un post antiguo con el mismo problema que tu y el final del post es: "Lo solucione muchas gracias" y te quedas tu con cara de... WTF jajaja un saludo!