G Guest Mar 20, 2007 #1 Hi all, What's the best way to retreive the local IP addresses in a .NET winforms app? Thanks!
Z zacks Mar 20, 2007 #2 Hi all, What's the best way to retreive the local IP addresses in a .NET winforms app? Thanks! Click to expand... http://groups.google.com/group/micr...st&q=ip+address&rnum=1&hl=en#5462dde20104a090
Hi all, What's the best way to retreive the local IP addresses in a .NET winforms app? Thanks! Click to expand... http://groups.google.com/group/micr...st&q=ip+address&rnum=1&hl=en#5462dde20104a090
G Guest Mar 20, 2007 #3 (e-mail address removed) wrote in http://groups.google.com/group/microsoft.public.dotnet.languages.vb/bro wse_thread/thread/e31f9af4be6bc6a1/5462dde20104a090?lnk=gst&q=ip+addres s&rnum=1&hl=en#5462dde20104a090 Click to expand... Wow that was a fast response! I knew I had to do a lookup of sorts on the local machine name, but I'm not too familiar with the System.Net.DNS classes. Thank you, worked great.
(e-mail address removed) wrote in http://groups.google.com/group/microsoft.public.dotnet.languages.vb/bro wse_thread/thread/e31f9af4be6bc6a1/5462dde20104a090?lnk=gst&q=ip+addres s&rnum=1&hl=en#5462dde20104a090 Click to expand... Wow that was a fast response! I knew I had to do a lookup of sorts on the local machine name, but I'm not too familiar with the System.Net.DNS classes. Thank you, worked great.
N Newbie Coder Mar 23, 2007 #4 SPAM Catcher, I posted the code for this one week ago in the same forum: Imports System.Net Dim ipAddress As IPHostEntry = Dns.GetHostByName(Dns.GetHostName) Me.Text = ipAddress.AddressList.GetValue(0).ToString I hope this helps,
SPAM Catcher, I posted the code for this one week ago in the same forum: Imports System.Net Dim ipAddress As IPHostEntry = Dns.GetHostByName(Dns.GetHostName) Me.Text = ipAddress.AddressList.GetValue(0).ToString I hope this helps,