Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

Any way to get client's computer name in a web form.

Created: 15 Apr 2013 • Updated: 30 May 2013 | 1 comment
This issue has been solved. See solution.

Hi all,

i am trying to get client's computername in a web form. i tried using GetComputername but of no use it gives me local server info. i tried environment variable no use it also gives me the same.

so is ther a way to get the computer name from web from via browser or somthing else.

Operating Systems:

Comments 1 CommentJump to latest comment

reecardo's picture

Try using the Get HTTP Request Value component (which is only usable in a Web Forms or WF type project). Specify REMOTE_ADDR as the Request Variable To Get.

If this comp happens to spit out an IP, just use Get Computer Info with this IP input (or you could use the Get Computer Name By IP Address in GeneralNetworking DLL)

REMOTE_ADDR can be spoofed in a request but shouldn't be an issue for the average application.