Forum Discussion
Mike_Thompson_9
Nimbostratus
Aug 08, 2007CommonULong64 OverflowException
I am trying to convert the CommonULong64 type to UInt64 in .NET for a CommonStatistic type. Sometimes this works fine and I get a good number back. Other times I get a System.OverflowException. The...
Mike_Thompson_9
Nimbostratus
Aug 09, 2007I did figure out this:
Type going in {LocalLB.Pool.CommonULong64}Object
high4 Long
low-1471517967Long
(Convert.ToUInt64(value.high) << 32) = 17179869184ULong
Convert.ToUInt64(value.low) = Run-time exception thrown : System.OverflowException - Value was either too large or too small for a UInt64.
....
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects