getUserAgent()
The system function ruiLib.getUserAgent() provides access to the value of the HTTP header HTTP_USER_AGENT, which is sent by the user's browser during application invocation. The value is useful if you need to write code that varies by browser type or version.
Syntax
result STRING = ruiLib.getUserAgent()
- result
- The HTTP_USER_AGENT value that is sent by the user's browser.