Forum Discussion
Jordan_43509
Aug 16, 2011Nimbostratus
Statistics
Hello Everyone, I've started working with the .NET Assembly of this project, I wanted to use it to get some statistics and monitoring of the BIG-IPs we have in our environment. Though I've h...
Aug 16, 2011
Hi Jordan, I should really just wrap a To64Bit function into the .Net assembly. Here's a little bit of code you can use to convert the Ulong64 structure into a 64 bit value.
UInt64 build64(iControl.CommonULong64 ul64)
{
return (UInt64)((UInt64)(ul64.high<<32) | (UInt64)ul64.low);
}
BTW, The reason they are showing up as signed values is that when we designed the WSDL (back in 2002, there wasn't a unsigned type for our Java bindings so we had to go with what worked across all the languages).
We are looking at moving our statistics interfaces to return strings with the 64-bit values and let languages do with them what they will, but that's a few releases off...
Hope this helps...
-Joe
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