Mohd Taufeeque

Mohd Taufeeque

  • NA
  • 56
  • 20.7k

How to detect login users’s device name and Model Number?

Aug 7 2019 5:17 AM
I have tried for Both, But I am getting result for the BrowserName and Version.
 
var BrowserName =System.Web.HttpContext.Current.Request.Browser.Browser; //Giving browsername
 
var Version =System.Web.HttpContext.Current.Request.Browser.Version;//Giving Version NoOf Browser
 
var DeviceTypes = "";`var DeviceModel = "";
 
Like if a user login using Samsung Mobile then t should return Samsing Device name and Model whatever like Note 7 or whatever.

Answers (1)