For a project at work I need to be able to read HTTP Get requests and Header Requests from a website and parse the information in a file using C#.

I am not familiar with HTTP requests. I assume you have to use an HttpRequest object. But I have not found anything on the web that is very helpful.

Is there a way to "turn on" Http Requests and write them all to a file and then when im done shut it off.

For example: Go to google. Turn on logging of all http requests. Click on a links. And write all of the HTTP requests ( gets, headers, posts ) to a file?

Does anyone know how to do this. Or know of a HTTP Request site for dummies.

Thank you!