HTMLAgilityPack で 1 つの画像を取得し、データベースに保存できるようにバイトとしてロードしたいと考えています。
byte[] bIMG = File.ReadAllBytes(doc.DocumentNode.SelectSingleNode("//img[@class='image']").Attributes["src"].Value);
しかし、URI formats are not supported.
他にどのようにそれを行うことができますか?
編集: doc.DocumentNode.SelectSingleNode("//img[@class='image']").Attributes["src"].Valueはリンクを提供します