Hello everyone Please let me know how to get the browser name. I have a login from the Edge browser so how to save Edge in the database. I have used this (userLoginHistory.Browser = Request.Headers["User-Agent"].FirstOrDefault();)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36 - This is save in table
Sachin SinghPosted May 12, 2022, 9:46 AM
Sardar Mudassar Ali KhanPosted Mar 1, 2023, 12:18 PM
To establish the actual name of the user's Web browser, you can use the navigator. appName and navigator. userAgent properties. The userAgent property is more reliable than appName because, for example, Firefox or Opera may return the string "Netscape" as the value of navigator.
Nitin SontakkePosted Jun 20, 2022, 7:54 AM
Nitin SontakkePosted May 12, 2022, 2:24 PM
RohanPosted May 12, 2022, 10:19 AM