Vidéos d'aide de Screencast

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

Created: 15 Avr. 2013 • Updated: 30 Mai 2013 | 1 commentaire
Ce problème a été résolu. Voir la 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:

Commentaires 1 CommentAccéder au dernier commentaire

l'image des reecardo

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.