(332) 331-8677

Get Browser From User Agent С# ASP.NET Core

ViewBag.UserAgent = Request.Headers["User-Agent"].ToString();