Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Stores Namespace / BannedIP Class / ConvertToNumber Method
The ip in dot-decimal format (x.x.x.x)
In This Topic
    ConvertToNumber Method
    In This Topic
    Converts a dot-decimal ip string into the equivalent numeric value.
    Syntax
    public static long ConvertToNumber( 
       string ip
    )

    Parameters

    ip
    The ip in dot-decimal format (x.x.x.x)

    Return Value

    The numeric value of the ip
    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