Easiest (and best) way to do this is just to install the other browsers and
use them. :)
Browscap.ini also indicates the user agent, but just changing the user agent
won't cause the browser to render the page the same as the real browser
would.
Netscape 7 + (Mozilla 1.0 and greater) and I.E. 6.0 and greater render
things almost identically. In fact, Mozilla implemented a detection routine
that puts it in "IE" compatible browser mode so that pages that are created
for IE specifically will render the same as they do in IE.
Robert
"Tyrone Bloombaumbergenthal" <Ty***********************@welfare.com> wrote
in message news:Oh**************@TK2MSFTNGP12.phx.gbl...
I am writing a win form application in C#, I want to be able to retrieve
web pages using different useragent strings and render the results in a web
browser to see how my app responds to different browsers. I can retrieve
the page and render the results fine. The problem I am having is changing
the useragent.
Any examples, links or info on how to do this would be greatly
appreciated.