[Mono-dev] Remoting with DateTime

Robert Jordan robertj at gmx.net
Fri Aug 17 04:35:34 EDT 2007

Paolo Molaro wrote:
> On 08/15/07 Robert Jordan wrote:
>> This is part of the binary serialization formatter's undocumented
>> specification: DateTime is treated as a primitive type and only
>> its ticks are serialized.
>> It looks like the format has changed with 2.0, so someone would
>> have to reverse engineer this part again.
> There was a blog at msdn I think some time ago: they encode the kind
> in a couple of bits of the ticks 64 bit value (I guess they are the low
> bits, losing a tiny bit of precision in the stored value).

Yes, it looks like that, because MS.NET 2.0 binary formatter
is still serializing DateTime as a primitive type, circumventing


More information about the Mono-devel-list mailing list