Walter.Net.Networking
ToIPv4 Method
Walter.Net.Networking Assembly > Walter.Net.Networking Namespace > NetworkExtensionMethods Class : ToIPv4 Method
The ip4 number.
Converts a ip4 long back to the IPV4 address.
Syntax
public static IPAddress ToIPv4( 
   long ip4Num
)

Parameters

ip4Num
The ip4 number.

Return Value

IPAddress.
Remarks
You can only safely round-trip IP4ToCidr addresses using this function when using ipv6 addresses cast the values to a big-integer or use the string function conversion extension methods
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