Browser detection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andy Warr

    #1

    Browser detection

    Hello...

    I am developing an application using C# and ASP.NET. I
    wish my code to detect the device the user is using (OS,
    Browser) and if a mobile device is being used (PDA,
    Phone, etc..) it re-directs to an interface specific for
    that set of devices. Else if a device such as a desktop
    or notebook is being used it will re-direct the user to a
    different interface.

    Any ideas?

    Andy
  • Peter Rilling

    #2
    Re: Browser detection

    Take a look at the HttpBrowserCapa bilities class.

    "Andy Warr" <ma0aw@bath.ac. uk> wrote in message
    news:2adb01c374 6b$46988830$a10 1280a@phx.gbl.. .[color=blue]
    > Hello...
    >
    > I am developing an application using C# and ASP.NET. I
    > wish my code to detect the device the user is using (OS,
    > Browser) and if a mobile device is being used (PDA,
    > Phone, etc..) it re-directs to an interface specific for
    > that set of devices. Else if a device such as a desktop
    > or notebook is being used it will re-direct the user to a
    > different interface.
    >
    > Any ideas?
    >
    > Andy[/color]


    Comment

    Working...