Hello, i would like to retrieve the hostname from IP adress, but
according to microsoft (VS 2008 Express), DNS.Resolve and
GetHostByAddress methods seem to be deprecated, and all i found on
google was people who wrote that the new method GetHostEntry didn't
work for what i do, because returned IPadress instead of the hostname.
So my question is : do you know a method for what i would like to do,
that is working well, and that is not deprecated ?
thx
Nico
bruce barker - 02 Apr 2008 17:00 GMT
GetHostEntry returns the alias list for an ipaddress, which is all dns will
return from an ipaddress (reverse lookup).
-- bruce (sqlwork.com)
> Hello, i would like to retrieve the hostname from IP adress, but
> according to microsoft (VS 2008 Express), DNS.Resolve and
[quoted text clipped - 7 lines]
> thx
> Nico