Gets a datatable that contains information about the browser in the user agent string.

Syntax

Smartsite SXML CopyCode image Copy Code
datatable smi.getbrowserinfo(string userAgent)

Parameters

Name Data Type Description
userAgent String The useragent string that a browsers sends to the server.

Return Value

Data Type Description
DataTable Returns a datatable with the columns "Browser", "BrowserGroup", "OperatingSystem" and "IsMobile".

Expand image Example

SXML