Problem: Based on the User-Agent header of an HTTP request, I need to choose what goes in the response based on whether or not the browser is supported by Microsoft Silverlight.
It doesn't matter whether Silverlight is actually installed or not, it just matters whether or not the browser could have it installed.
Answer: 1
The only way I found was to do string matching on the user agent.
I pulled a bunch of words from the user agents listed here: http://www.useragentstring.com/pages/Mobile%20Browserlist/
by : RobSikloshttp://stackoverflow.com/users/270348
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog