IPHostEntry

IPHostEntry CF 1.0, ECMA 1.0

System.Net (system.dll) class

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( )}



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net