Walter.Net.Networking
IpAddressOf Method
Walter.Net.Networking Assembly > Walter.Net.Networking Namespace > LocalNetwork Class : IpAddressOf Method
Name of the host.
How long the operation is allowed to take
Get the IP address of a given host name.
Syntax
public static IPAddress IpAddressOf( 
   string hostName,
   Nullable<TimeSpan> timeout
)

Parameters

hostName
Name of the host.
timeout
How long the operation is allowed to take

Return Value

IPAddress.
Exceptions
ExceptionDescription
The host name must be provided - hostName
Requirements

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

See Also

Reference

LocalNetwork Class
LocalNetwork Members