I am using HTML Agility Pack library to read page's HTML, but facing this error:
Unable to read data from the transport connection the connection was closed.
Here's my code:
var getHtmlWeb = new HtmlWeb();
for (int j = 0; j < arr.Length; j++)
{
var document = getHtmlWeb.Load(arr[j].ToString()); // error line
}
how can I extend the Timeout?