P
PJ6
I've found only one way to get the local computer's IP address (in a thick
client app) -
System.Net.Dns.GetHostAddresses(My.Computer.Name)(0)
This seems ass-backwards to me. The local machine already knows its IP
address, so why do I have to go through DNS to get it? And what if the IP
address has been configured manually and there is no DNS?
Is there another way to get the local IP address?
Paul
client app) -
System.Net.Dns.GetHostAddresses(My.Computer.Name)(0)
This seems ass-backwards to me. The local machine already knows its IP
address, so why do I have to go through DNS to get it? And what if the IP
address has been configured manually and there is no DNS?
Is there another way to get the local IP address?
Paul