ignacio
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2013
10:44 AM
Get the user-agent
Hey guys, I've seen it is possible to set up a specific user-agent, but I'd like to actually be able to get the default one that is being used, any idea on how to do that?
Thanks!
-Ignacio
Thanks!
-Ignacio
2 REPLIES 2
ignacio
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2013
10:58 AM
Re: Get the user-agent
Roku/DVP-5.0 (025.00E08043A)
I was able to get it by looking at the server log, It still would be nice to get it somehow on runtime in case I need to change it.
Thanks!
I was able to get it by looking at the server log, It still would be nice to get it somehow on runtime in case I need to change it.
Thanks!
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2013
11:02 AM
Re: Get the user-agent
I think that user agent will change depending on the model of roku making the request. So you'll probably want to only check the first four letters or set the user agent manually in the application you are creating.
viewtopic.php?f=34&t=57084&p=390373&hilit=user.agent#p390373
viewtopic.php?f=34&t=57084&p=390373&hilit=user.agent#p390373