Click or drag to resize
IpAddressParse Method
Parses an IPv4 address from the specified string.

Namespace: Network.Sim.Network.Ip
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static byte[] Parse(
	string address
)

Parameters

address
Type: SystemString
A string containing an IPv4 address in the dot-decimal notation.

Return Value

Type: Byte
The IPv4 address as an array of 4 bytes.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the address argument is null.
ArgumentExceptionThrown if the specified string does not contain a valid IP-Address in dot-decimal notation.
See Also