Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

Dns.Resolve / GetHostByAddress deprecated in c# 2?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nicopilami - 02 Apr 2008 11:49 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.