Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 357
  • Last Modified:

Find the Client Machine Id

I need the code to find the id for the client machine.
0
kwcowboy1226
Asked:
kwcowboy1226
  • 3
  • 2
1 Solution
 
kwcowboy1226Author Commented:
Using ASP.Net
0
 
kraffayCommented:
What do you mean by Machine ID?  Here's a list of Server variables you can get from the Request object (the code is the same in ASP.NET):

http://www.w3schools.com/asp/coll_servervariables.asp
0
 
kwcowboy1226Author Commented:
I need to know the correct servervariable to use to id the client box that is submitting the request to the server.
0
 
kwcowboy1226Author Commented:
I used REMOTE_HOST and LOCAL_ADDR and the same value was returned.
0
 
kraffayCommented:
I'm still not sure what you mean by "id".  Try this code and see if any of these values give your what you want:

<%
for each x in Request.ServerVariables
  response.write(x & "<br />")
next
 %>
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now