i have seen further question answers but cannot get a clear answer.
foreach (HtmlNode cat2 in doci.DocumentNode.SelectNodes(".//a/@href | //img/@src"))
in this i am getting src in img tag i want to download that image and store it into database.what should i do? is it possible with html agility pack to download image if so, then tell me how to get and assign it to a variable then i can store in my DB
var imagePath = cat2.Attributes["src"].Value;
this is not working too