This method returns a string representation of the IP address specified as an integer. This method is typically used in conjunction with the ConvertToInt method. This is a static method.
Syntax:
IPasStr = CountryObj.ConvertFromInt(ipAsInt)
The ipAsInt parameter specifies the IP address to be converted to a string.
Returns:
An string value representing the specified IP address as an integer.
VB.NET Example:
Response.Write("The integer value of 114748367 converts to the IP of ")
Response.Write(CountryObj.ConvertFromInt(1147483670))
C# Example:
Response.Write("The integer value of 114748367 converts to the IP of ");
Response.Write(CountryObj.ConvertFromInt(1147483670));
Note: See the ch_convertIP_vb.aspx sample for more information.
See Also: