I googled this topic and I came across with three different ways to configure browser capabilities: browscap.ini, browserCaps element in web.config and .browser files in App
I found a user agent parser from http://user-agent-string.info/ and it seems to be good enough for my purposes.