Hi,
could you please little more clear what is global ip address.
using this you can get the localIP.i hope it will help you
String hn = Dns.GetHostName();
IPHostEntry he = Dns.GetHostEntry(hn);
IPAddress[] iArr = he.AddressList;
foreach (IPAddress i in iArr)
{
MessageBox.Show(i.ToString());
}
Best Regards,
C.Gnanadurai
-----------------------
Please mark the post as answer if it is helpfull to you