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 IPHostEntry( ); // Public Instance Properties public IPAddress[ ] AddressList{set; get; } public string[ ] Aliases{set; get; } public string HostName{set; get; } }
Returned By
Dns.{EndGetHostByName( )
, EndResolve( )
, GetHostByAddress( )
,
GetHostByName( )
, Resolve( )}
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.