Walter.Net.Networking
IP4ToCidr Method
Walter.Net.Networking Assembly > Walter.Net.Networking Namespace > NetworkExtensionMethods Class : IP4ToCidr Method
The ip.
convert the IP4 address to a double
Syntax
public static long IP4ToCidr( 
   IPAddress ip
)

Parameters

ip
The ip.

Return Value

System.Double.
Exceptions
ExceptionDescription
ip
Remarks
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