New! GraphQL.NET Cookbook by Senthil Kumar Balu

How to Get the UserAgent in OutSystems Web Application ?

When working with the API’s , there are times when you might want to transfer the UserAgent from your Web Application. You can easily retreive the UserAgent from your Web Application developed with OutSystems using the GetUserAgent() method defined in the Environment .


The GetUserAgent() returns the user agent, as indicated by the header of the HTTP message.

Output :


Senthil Kumar B
Senthil Kumar is a former Microsoft MVP (Most Valuable Professional). He is a Co-Author of the book "Windows 10 Development Recipes using JavaScript and CSS" for Apress Publication. He is a technical presenter, blogger, mentor and a Geek.  Senthil is a regular speaker is various local user groups. He has presented at conferences like Great Indian Developer Summit (GIDS) & Microsoft DevCamps. You can reach out to him via his Twitter handle @isenthil.