Trap http Request and Response Header

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
 
I

Igor Tandetnik

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top