// sets a LargeInteger (COM object) from a long static internal LargeInteger GetLargeIntegerFromLong(Int64 int64Value) { LargeInteger largeInteger = new LargeIntegerClass(); largeInteger.HighPart = (int)(int64Value >> 32);; largeInteger.LowPart = unchecked ((int)(int64Value & 0xFFFFFFFF)); return(largeInteger); }
// sets a LargeInteger (COM object) from a long internal static LargeInteger GetLargeIntegerFromLong(Int64 int64Value) { LargeInteger largeInteger = new LargeIntegerClass(); largeInteger.HighPart = (int)(int64Value >> 32); ; largeInteger.LowPart = unchecked((int)(int64Value & 0xFFFFFFFF)); return largeInteger; }