hi all,
In my page i need to get the system ip address. i used this code.
string myHost = System.Net.Dns.GetHostName();
string myIP = System.Net.Dns.GetHostByName(myHost).AddressList[0].ToString();
this is working fine when i run application in local system. Now i hosted that application in server say(10.20.7.63). so now when i access that application from my system i am getting ipaddress as 10.20.7.63 which is servers IP. But i need my system ip address.. so can anyone help me please..
Thank u.