Getting the Client's machine name.....
Hi,
I am working on an ASP project that requires the client's machine name. I know that there is a command
Request.Servervariables(REMOTE_HOST)
that returns the remote host name. But if I use this command the return value is the IP address of the machine rather than the remote host name. How do I get the remote host name? Can anybody help me out.
Thank you in adcance.
Anand
Re: Getting the Client's machine name.....
call 'GetComputerName' on the client end and send the info to your host
Re: Getting the Client's machine name.....
I think that GetComputerName is an API. How can I use an API in ASP. Could you please help me out here.
Thank you in advance.
Anand
V. Anand,
Flat No 201, DivyaSai Apts.,
64 Pragathi Nagar,
Yosufguda,
Hyderabad - 500 045.
Re: Getting the Client's machine name.....
You can create Activex component in VC++ or VB get your computer name using API and use this new component in ASP script by calling Server.CreateObject ("NameOfActiveX DLL.NameOfObject")