title: How to get browser information of client?
body: <blockquote>
    <p>How can I get browser information for client in asp.net core 3.0.1, I
    tried to use this code, but, it return me the full list of user's
    browsers, but, I need the browser that user using it.</p>
  </blockquote>
  
  <p><strong>Code that I used:</strong> </p>
  
  <pre><code>var userAgent = Request.Headers["User-Agent"].ToString();
  </code></pre>
  
  <p><strong>I tried also this code, but, it gives me error:</strong> </p>
  
  <pre><code>UserAgent.UserAgent ua = new UserAgent.UserAgent(userAgent);
  </code></pre>
  
  <p>I searched in many links, but, I didn't find what I need, and, this is some of the link that I searched in:</p>
  
  <ol>
  <li><a href="https://code.msdn.microsoft.com/How-to-get-OS-and-browser-c007dbf7" rel="nofollow noreferrer">https://code.msdn.microsoft.com/How-to-get-OS-and-browser-c007dbf7</a></li>
  <li><a href="https://stackoverflow.com/questions/28664770/how-to-get-user-browser-name-user-agent-in-asp-net-core">How to get user Browser name ( user-agent ) in Asp.net Core?</a></li>
  <li><a href="https://docs.microsoft.com/en-us/dotnet/api/system.web.httprequest.useragent?view=netframework-4.8" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/dotnet/api/system.web.httprequest.useragent?view=netframework-4.8</a></li>
  <li><a href="https://www.c-sharpcorner.com/forums/how-to-get-current-browser-details-in-asp-net-core" rel="nofollow noreferrer">https://www.c-sharpcorner.com/forums/how-to-get-current-browser-details-in-asp-net-core</a></li>
  </ol>
  
  <blockquote>
    <p><strong>Is there any way to get the browser name and version that client run the application from it</strong>
    <strong>using Asp.Net Core 3.0.1?</strong></p>
  </blockquote>