is there a class to find out my local ip ?
i tried it with:
Dim ipshost As IPHostEntry = Dns.GetHostByName("connserver")
this only shows me the tcp / udp adapters i think.
i have two networkcards installed on this server; the ip i want to find out is the one from the adsl connection.
on the adsl connection there is only ppp installed (no tcp, no udp).
when i use ipconfig on command sure there is the wanted ip address.
but when i use dns.gethostbyname() & dns.resolve() it only returns the ipaddress of the local adapter.
ipshost.AddressList.Length is only 1 ....
can u pleazzzz help ?
i tried it with:
Dim ipshost As IPHostEntry = Dns.GetHostByName("connserver")
this only shows me the tcp / udp adapters i think.
i have two networkcards installed on this server; the ip i want to find out is the one from the adsl connection.
on the adsl connection there is only ppp installed (no tcp, no udp).
when i use ipconfig on command sure there is the wanted ip address.
but when i use dns.gethostbyname() & dns.resolve() it only returns the ipaddress of the local adapter.
ipshost.AddressList.Length is only 1 ....
can u pleazzzz help ?