I have my GUI files published on a server... this server is where the IIS is running..

Now i access my GUI from a remote machine. how can i get this machines IP address or username.

I get the server name of the machine using this code:

```
string svrName = System.Net.Dns.GetHostName();

```

please help thanks...

maybe i was not clear enough:

> 
> Let me explain again..
> 
> 
> 

there are 2 machines A and B.. A is where i have my published files for the GUI and also the IIS... the above code gives me the name of machine A

now i call the GUI from machine B. and i want the name of machine B