Check out the latest documentation.

ProcTrie

Starts a process which reads user agents from stdIn and returns CSV format properties and values for the matching device via stdOut. Uses the Trie matching detection routine.

When running type a user agent, or any string for testing, followed by enter to view the matched device properties. Provide an empty string to terminate the process.

ProcTrie [Trie data file] [Properties]

  • [Trie data file] A source data file in Trie format. A data file current at the time the zip file was created is included in data folder.

  • [Properties] A comma separated list of properties to be returned. If not provided Id will be used.

    For example: Id,IsMobile will return the Id of the matched device and True or False to indicate if the device is a mobile.

    See the Property Dictionary for a list of valid properties.

Example: ProcTrie data/51Degrees-Lite.Trie IsMobile,Id

Enter user agent strings to view the returned Id and IsMobile values, or an empty string to quit.