Click here to Skip to main content
16,016,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to get user's HostName, IP, and MAC Address ? and store in database?
when user's visit site automatically store in data base
help me plz
Posted

1 solution

To get host name and address you can use HttpRequest Class[^]. What comes to MAC address, as far as I know there's no reliable mechanism to fetch it.

For connecting to and using a database, have a look at for example http://www.dotnetperls.com/sqlclient[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900