ahmed salah

ahmed salah

  • 1.2k
  • 547
  • 66.3k

how to get computer name for client visit my app ?

Dec 13 2023 6:21 AM

suppose i work on asp.net MVC web application and this application hosted on IIS so i need to get computer name of user

visit web application as example client A have computer-001 he visit web application then get computer name computer-001 and display it on application .

computer B

have computer name computer-002 then register computer name computer-002 on web application using asp.net mvc

so exactly i need to get computer name that visit web application

public ActionResult GetAuditLog(ResignationRequester resignationRequester)
{
    string computername=get computer visit my web application who run my app
}

Answers (1)