Public Method IpAddrConvert

IpAddrConvert converts multiple IP address formats.

Returns:
IpAddrConvert convertions with ToByteArray = False
long to string
byte array to string
string to long

IpAddrConvert convertions with ToByteArray = True
long to byte array
byte array to string (no change)
string to byte array



Type Return

A Variant Value

Syntax

Object.IpAddrConvert ( IPAddress, [ToByteArray])

The IpAddrConvert Methods syntax has these parts:

Part Description
object An expression evaluating to an Object of type modNetFinder.
IPAddressRequired. A Variant Value. IP Address to be converted.
ToByteArrayOptional. A Boolean = False Object. IP Address convertion function.