"RokuMarkn" wrote:
Use one of the Async methods of roUrlTransfer and you can read the server's headers via GetResponseHeaders.
--Mark
I think he was asking about the Roku's user-agent string. GetResponseHeaders() only gets headers sent back from the server, and servers don't send a User-Agent header.
The Roku's User-Agent header appears to be "Roku/DVP-x.y (zzzzzzzzzzzzz)",
Where:
x is the major version number of the firmware (no leading zeros)
y is the minor version number of the firmware (no leading zeros)
zzzzzzzzzzzzz is the 13-character string corresponding to the Roku's version number as returned by ifDeviceInfo.GetVersion()
I'm sure there's no guarantee that won't change, although if it's something you care about, you can set it yourself to whatever you want.