Question : How to get local IP of Windows CE device.

How do I obtain the local IP address of the device on which my VB.NET CF app is running?  I have seen a number of references to Dns.GetHostEntry, but I can't seem to get it to work.

Answer : How to get local IP of Windows CE device.

Let's try this:
1:
Dim MyIP as string = Dns.GetHostEntry(Dns.GetHostName()).AddressList(0).ToString())
Random Solutions  
 
programming4us programming4us