title: How to save webpage/image
body: <p>I am using the following project due to its ability to fill forms and click buttons programmatically:
  <a href="http://www.codeproject.com/Articles/5452/Microsoft-Web-Browser-Automation-using-C" rel="nofollow">http://www.codeproject.com/Articles/5452/Microsoft-Web-Browser-Automation-using-C</a></p>
  
  <p>I can browse internet programmatically however I am unable to save web pages. For example I tried to save images on my domain. I open the image however I can't save it programmatically:</p>
  
  <pre><code>private AxSHDocVw.AxWebBrowser axWebBrowser1;
  object loc = "http://www.mydomain.com/img/logo.jpg";
  object null_obj_str = "";
  System.Object null_obj = 0;
  this.axWebBrowser1.Navigate2(ref loc , ref null_obj, ref null_obj, ref null_obj_str, ref null_obj_str);
  
  // I want to save jpg here...
  HTMLDocument myDoc = new HTMLDocumentClass();
  myDoc = (HTMLDocument) axWebBrowser1.Document;
  // ...but don't know how to do it
  </code></pre>
  
  <p>There is a screenshot ability but I don't want to use that. Any help would be appreciated.</p>