public IPHostEntry GetHostEntry( IPAddress address )
Parameters
- address
- The IP address
Return Value
Host entry
public IPHostEntry GetHostEntry( IPAddress address )
Exception | Description |
---|---|
System.ArgumentNullException | The address must be provided |
System.ArgumentException | thrown if requesting public DNS on local ip address |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2