How to get response headers from a WebBrowser control in .NET?

After WebBrowser.Navigate () how to recover the response headers returned by the server?

+3
source share
2 answers

You can register a temporary plugin namespace handler for the http protocol to record conversations with the server so you can watch 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,

+1
source

, . - HTTP- . HTML HttpWebRequest. Headers .

+1

Source: https://habr.com/ru/post/1748665/


All Articles