///////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity / Netstack
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: IPHostEntry.
//
namespace System.Net {
// Host information
///
/// Provides a container class for Internet host address information..
///
public class IPHostEntry {
string hostName;
string[] aliases;
IPAddress[] addressList;
///
///
/// Contains the DNS
/// name of the host.
///
///
///
///
public string HostName {
get {
return hostName;
}
set {
hostName = value;
}
}
///
///
/// Provides an
/// array of strings containing other DNS names that resolve to the IP addresses
/// in .
///
///
///
///
public string[] Aliases {
get {
return aliases;
}
set {
aliases = value;
}
}
///
///
/// Provides an
/// array of objects.
///
///
///
///
public IPAddress[] AddressList {
get {
return addressList;
}
set {
addressList = value;
}
}
} // class IPHostEntry
} // namespace System.Net