title: How to get mobile device data from a http request?
body: <p>I've built a web api that is called via an application (iOS/Android) through HTTP requests. I'm trying to implement a GET request that returns different data based on the device, OS, application version, .. etc. I've been using UserAgent with IOS devices and it's working just fine, it goes like that:</p>
  
  <pre><code>        var uaParser = Parser.GetDefault();
  
          var clientInfo = uaParser.Parse(Request.Headers.UserAgent.ToString());
  </code></pre>
  
  <p>Also if I opened the request via browser it also returns the data. Example of the response is: <strong>UserAgent: Windows 10 Other Chrome 63.0.3239</strong></p>
  
  <p>The problem is in the Android devices, it doesn't send any data about neither the device nor the OS, and I don't want to hard code the details in the android apps, I believe they are sent somewhere as <a href="https://try.crashlytics.com/" rel="nofollow noreferrer">Crashlytics</a> can show these details for both iOS and Android.</p>
  
  <p>Is there is any possible solution to get this data from the requests itself? </p>