Retrieving the PC Name of a Client? (Windows Auth)

I have an ASP.net Application that runs on the internal network (well, actually it's running on Sharepoint 2007).

I just wonder: Can I somehow retrieve the name of the PC the Client is using? I would have access to Active Directory if that helps. Thing is, people use multiple PCs, so I cannot use any manual/static mapping.

If possible, I do not want to use any client-side (read: JavaScript) code, but if it cannot be done server-side, JavaScript would be OK as well. (ActiveX is absolutely out of question)


No, that just returns the IP :-(

But I just found it:


That only works if there is actually a DNS Server to resolve the name, which is the case for my network.


Does System.Web.HttpRequest.UserHostname provide what you're looking for?


  • classifying identically pattern in words using R
  • Amending the Registry on another PC within the same domain
  • Verilog Program Editor and Compiler [closed]
  • LDAP Column Order of CSVDE Export
  • Grid creating extra spacing that I don't want
  • Getting IIS6 to play nice with WordPress Pretty Permalinks
  • Update varbinary(MAX) field in SQLServer 2012 Lost Last 4 bits
  • How do I retrieve the user information of a user authenticated with Apache's mod_ldap?
  • Suppressing passwd when calling sqlplus from shell script
  • Ember.js model to be organised as a tree structure
  • Security issues with PHP's Readfile method
  • Web.config system.webserver errors
  • Spring Cloud Microservice Architecture Confusion
  • Visual Studio 2010 debugger build correctly - compiler pdb and linker pdb not in synch?
  • Installing iPhone App to iPhone
  • Transactional Create with Validation in ServiceStack Redis Client
  • Jackson Parser: ignore deserializing for type mismatch
  • Abort upload large uploads after reading headers
  • Custom Tabgroup Appcelerator
  • Email verification using google app script and google forms
  • Checking free space on FTP server
  • OpenGL ES texture problem, 4 duplicate columns and horizontal lines (Android)
  • Change Inet root folder for iis 7
  • Handling un-mapped Rest path
  • Repeat a vertical line on every page in Report Builder / SSRS
  • Android screen density dpi vs ppi
  • PHP - How to update data to MySQL when click a radio button
  • Bug in WPF DataGrid
  • Where to put my custom functions in Wordpress?
  • Updated Ionic CLI but shows previous version (Windows)
  • Do I've to free mysql result after storing it?
  • How can I estimate amount of memory left with calling System.gc()?
  • Data Validation Drop Down Box Arrow Disappearing
  • InvalidAuthenticityToken between subdomains when logging in with Rails app
  • SQL merge duplicate rows and join values that are different
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • LevelDB C iterator
  • Can't mass-assign protected attributes when import data from csv file
  • java string with new operator and a literal