browser type

N

NuB

I have asp code that determines which browser the user has and then gets the
correct style sheet. How can i do something like that with C#. I want to
determine which browser the user has then get the correct stylesheet.
 
B

Bruce Barker

use the agent string (in the request headers) or Request.Browser which
returns serveral properties based on the agent string (be sure to get an
updated browsercaps file if you use the Browser object)

-- bruce (sqlwork.com)
 

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

Members online

Forum statistics

Threads
474,269
Messages
2,571,097
Members
48,773
Latest member
Kaybee

Latest Threads

Top