mscorlib(4.0.0.0) API with additions
IPHostEntry.cs
1 namespace System.Net
2 {
4  public class IPHostEntry
5  {
6  private string hostName;
7 
8  private string[] aliases;
9 
10  private IPAddress[] addressList;
11 
12  internal bool isTrustedHost = true;
13 
16  public string HostName
17  {
18  get
19  {
20  return hostName;
21  }
22  set
23  {
24  hostName = value;
25  }
26  }
27 
30  public string[] Aliases
31  {
32  get
33  {
34  return aliases;
35  }
36  set
37  {
38  aliases = value;
39  }
40  }
41 
44  public IPAddress[] AddressList
45  {
46  get
47  {
48  return addressList;
49  }
50  set
51  {
52  addressList = value;
53  }
54  }
55  }
56 }
Provides a container class for Internet host address information.
Definition: IPHostEntry.cs:4
Provides an Internet Protocol (IP) address.
Definition: IPAddress.cs:10
string HostName
Gets or sets the DNS name of the host.
Definition: IPHostEntry.cs:17
IPAddress [] AddressList
Gets or sets a list of IP addresses that are associated with a host.
Definition: IPHostEntry.cs:45
string [] Aliases
Gets or sets a list of aliases that are associated with a host.
Definition: IPHostEntry.cs:31