daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Oct 12th, 2017 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
  2. MemoryStream ms = new MemoryStream(Encoding.Default.GetBytes(a_few_k_of_html));
  3. doc.Load(ms);
  4. ms.Close();// <-- Important
  5. //Do whatever you want with HtmlDocument
RAW Paste Data
Top