Click or drag to resize
IpAddressParseCIDRNotation Method
Parses an IP address/netmask combination in CIDR notation.

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 Tuple<IpAddress, IpAddress> ParseCIDRNotation(
	string ipAddress
)

Parameters

ipAddress
Type: SystemString
The network id in CIDR notation.

Return Value

Type: TupleIpAddress, IpAddress
A tuple containing the IP address as well as subnet mask constructed from the parsed CIDR string.
See Also