title: How can I download a file using a WebBrowser control without using the File Download dialog box?
body: <p>In a WPF project, I use the method </p>
  
  <pre><code>webBrowser.Navigate(strUrl);
  </code></pre>
  
  <p>to get a PNG picture from the server. </p>
  
  <p>The following dialog appears:</p>
  
  <p><a href="https://i.stack.imgur.com/eDOdB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eDOdB.jpg" alt="File Download dialog screenshot"></a></p>
  
  <p>How could I download the picture seamlessly (without a dialog)?</p>