Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting a remote computer's name

Status
Not open for further replies.

froggerIII

Programmer
Jul 19, 2000
119
US
I am an intranet web developer, and am working on a project where we would like to know who is using the application. Currently, we are just getting the ip address of the remote host, using asp server variables. However, it has been requested that we get the name of the remote host (in the same domain) also.

It can't be done with asp. Right now, we are toying with the idea of running the windows utility nbtstat at a batch level, but that would involve dealing with text files and such, which isn't to good, since the application will be used by more than once by over a thousand people each day.

I was wondering if anyone knew of a way that I could do this with a COM object, so the system can find the hostname of a computer given its ip address.

Thanks ray
rheindl@bju.edu

 
Try:

VCA.gif

Alt255@Vorpalcom.Intranets.com

"If you can get people to ask the wrong questions, they'll never find the right answers."[tt]
Thomas Pynchon[/tt]

Perhaps the reverse is also true....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top