How to get response headers from WebBrowser control in .NET?
After WebBr开发者_运维技巧owser.Navigate() how to retreive response headers returned by server ?
You can register a temporary pluggable namespace handler for the http protocol to record the conversations with the server so you can look up them when you need to. See http://google-gears.googlecode.com/svn/trunk/gears/localserver/ie/http_handler_ie.cc and http://www.codeproject.com/KB/miscctrl/csEXWB.aspx for examples.
I don't think that's possible. A web page is made up of many HTTP requests and responses. You'd have to download the HTML yourself with HttpWebRequest. Its Headers property gives you access to the response headers.
精彩评论