Common::ULong64

Introduced : BIG-IP_v9.0
A 64-bit, unsigned integer.
Member Type Description
high long The high-order 32-bit unsigned integer.
low long The low-order 32-bit unsigned integer.

See Also

Powershell Example
Function ConvertFrom_F5Ulong64 {
<#
.NOTES
    Author:       Colyn Via
    Date:          04/08/2015

    Adapted from Joe Pruitt's answer here:
            https://devcentral.f5.com/questions/high-low-value-in-systemstatisticsget_global_statistics

    10/31/2018  Corrected.  The high order bits need to be left shifted 32, not power of 32.

#>
    Param
    (
        [parameter(mandatory=$True,
                   ValueFromPipelineByPropertyName=$true)]
        [uint32]
        $High,

        [parameter(mandatory=$True,
                   ValueFromPipelineByPropertyName=$true)]
        [uint32]
        $Low
    )

    $64BitValue = ([uint64]$High -shl 32) + $Low)

    Return $64BitValue
}

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.