Click here to Skip to main content
15,797,721 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I made web based application in C#..
and i want to validate by client computer name in remote Server side.
n plz send code wich runs in google chrome
Ed Nutting 8-Dec-11 7:51am    
In Server Side code use: Request.UserHostAddress to get the IP address of the client's machine. Getting computer name is impossible (unless something very odd and insecure is happening). Hope this helps, Ed

1 solution

In addition to Edward's correct comment, have a look here[^]

In an *Intranet* application, there are certain hoops you can jump through using Windows Authentication to retrieve more user information

However, in an *Internet* application, you are severely limited to what is available in the HTTP Request.
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