C# – How to get the computer name of the client filling an web-based Infopath form

cinfopathmosssharepoint

I have an Infopath 2007 form hosted on MOSS 2007. The code behind the form is written in C#. In this context, System.Environment.MachineName return the server name.

How can I get the name of the computer from which the client is filling this form?

Best Answer

Would ASP.NET's Request.ServerVariables("REMOTE_ADDR") help?