public class IPHostEntry
|
The IPHostEntry class is used as a helper class with the Dns class.
IPHostEntry hostInfo = Dns.GetHostByName("www.contoso.com");
ctor #1 | Default constructor. This constructor is called by derived class constructors to initialize state in this type. |
AddressList | Read-write Gets or sets a list of IP addresses associated with a host. |
Aliases | Read-write Gets or sets a list of aliases associated with a host. |
HostName | Read-write Gets or sets the DNS name of the host. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public IPHostEntry(); |
public IPAddress[] AddressList {get; set;}
|
public string[] Aliases {get; set;}
|
public string HostName {get; set;}
|
~IPHostEntry(); |
public virtual int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public virtual string ToString(); |