O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

IPHostEntry

Synopsis

The Dns class uses this class to represent hosts. A host is named by its HostName property, and its aliases are stored in the Aliases property. The AddressList property contains all the IP addresses for that host.

public class IPHostEntry {
// Public Constructors
   public method IPHostEntry();  
// Public Instance Properties
   public field IPAddress[] AddressList{set; get; } 
   public field string[] Aliases{set; get; } 
   public field string HostName{set; get; } 
}

Returned By

Dns.{EndGetHostByName(), EndResolve(), GetHostByAddress(), GetHostByName(), Resolve()}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required