WebBrowser Control and Wininet APIs
Is it possible to get the exact all Http Request Header and Http Response Header details from WebBrowser control?
Also is there any means of getting WinInet related HINTERN开发者_StackOverflow中文版ET handle from WebBrowser Control?
Thanks, Krishna
You can monitor for WebBrowser http requests that are send/get and data send/get with this library:
Http Monitor for Webbrowser Control
it is here http://www.codeproject.com/KB/shell/HttpMonitor.aspx
it is beta, but works for me.. there are demo sample and source codes. you must register their dll by regsvr32 for demo working
No, there's no way to do that with the WebBrowser Control.
You might consider integrating FiddlerCore into your application; that would allow you to accomplish what you are trying to do.
精彩评论