Trap http Request and Response Header

  • Thread starter Thread starter Vaibhav
  • Start date Start date
V

Vaibhav

Hi,

I am trying to write a web browser control Application in c#,
i want to trap al http request and response header which are sent/recieved.
I am new to Windows programming

With Regards,
Vaibhav
 
Vaibhav said:
I am trying to write a web browser control Application in c#,
i want to trap al http request and response header which are
sent/recieved. I am new to Windows programming

It's not easy. See

http://groups.google.com/[email protected]

--
With best wishes,
Igor Tandetnik

"On two occasions, I have been asked [by members of Parliament], 'Pray,
Mr. Babbage, if you put into the machine wrong figures, will the right
answers come out?' I am not able to rightly apprehend the kind of
confusion of ideas that could provoke such a question." -- Charles
Babbage
 
Vaibhav,

If you are embedding the web browser control in your application, there
is little that you can do to capture the headers. The model is pretty
closed, at least for the webbrowser itself (it doesn't provide the normal
hooks into the download process). You ^could^ create a shell IMoniker
interface implementation, and then intercept all the calls (and the calls to
the streams). This way, you might be able to get the information you want,
but it wouldn't be easy.

Hope this helps.
 
Back
Top