using (var client = new WebClient())
{
client.DownloadFile(new Uri(@"http://www.bilyoner.com/iddaa/iddaa-liste"),path);
}
}
I am trying to download the html source,but I am getting “The underlying connection was closed: The connection was closed unexpectedly.” exception.
I tried different url s which just worked fine.
Accepting a zipped stream does the trick.