title: How can I measure the response and loading time of a webpage?
body: <p>I need to build a windows forms application to measure the time it takes to fully load a web page, what's the best approach to do that?</p>
  
  <p>The purpose of this small app is to monitor some pages in a website, in a predetermined interval, in order to be able to know beforehand if something is going wrong with the webserver or the database server.</p>
  
  <p><strong>Additional info:</strong></p>
  
  <p>I can't use a commercial app, I need to develop this in order to be able to save the results to a database and create a series of reports based on this info.</p>
  
  <p>The webrequest solution seems to be the approach I'm goint to be using, however, it would be nice to be able to measure the time it takes to fully load the the page (images, css, javascript, etc). Any idea how that could be done?</p>