title: HtmlAgilityPack - Convert MHTML To HTML as String
body: <p>I have a MHTML file and I am trying to convert it to HTML.</p>
  
  <p>I have installed the HtmlAgilityPack and tried the following code:</p>
  
  <pre><code>var doc = new HtmlAgilityPack.MixedCodeDocument();
  doc.Load("C:\\Users\\DickTracey\\Downloads\\Club Membership Report.mhtml");
  
  var ms = new MemoryStream();
  var sw = new StreamWriter(ms);
  
  doc.Save(sw);
  ms.Position = 0;
  
  var sr = new StreamReader(ms);
  return sr.ReadToEnd();
  </code></pre>
  
  <p>But it always returns null.</p>
  
  <p>Can anyone explain the correct procedure to convert MHTML to HTML please?</p>