Walter.Net.Networking
TryParseNetwork Method
Walter.Net.Networking Assembly > Walter.Net.Networking Namespace > NetworkExtensionMethods Class : TryParseNetwork Method
the IP/cidr string
returns a IP4 or IP6 network
tries to parse a IP/CIDR string to a network
Syntax
public static bool TryParseNetwork( 
   string AddressCidr,
   out INetwork? network
)

Parameters

AddressCidr
the IP/cidr string
network
returns a IP4 or IP6 network

Return Value

true if valid
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

NetworkExtensionMethods Class
NetworkExtensionMethods Members