Getting Local IP Address
Apologies if this is the wrong forum but I can't find anything more suitable. I have to obtain the local IP address of a LAN-connected machine. I can find plenty of methods that return ALL local IP addresses for the available connections but is there any way to determine the one that is currently being used ?

kovanRank #1,453 · 1.1K reputationPosted Mar 23, 2004, 5:38 AM EST
ric.pike5 reputationPosted Mar 23, 2004, 6:17 AM EST
kovanRank #1,453 · 1.1K reputationPosted Mar 23, 2004, 7:33 PM EST
kovanRank #1,453 · 1.1K reputationPosted Mar 23, 2004, 7:34 PM EST
Bhasker DasRank #226 · 11K reputationPosted Jul 13, 2005, 9:55 PM EDT
Hi!
Check out this code in C# ...
Request.ServerVariables[33].ToString();
Regards
- Bhasker