Click or drag to resize
SerializationContextDefaultDateTimeConversionMethod Property
Gets or sets the default DateTime conversion methods of built-in serializers.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public DateTimeConversionMethod DefaultDateTimeConversionMethod { get; set; }

Property Value

Type: DateTimeConversionMethod
The default DateTime conversion methods of built-in serializers. The default is Native.
Remarks
As of 0.6, DateTime value is serialized as its native representation instead of interoperable UTC milliseconds Unix epoc. This behavior solves some debugging problem and interop issues, but breaks compability. If you want to change this behavior, set this value to UnixEpoc.
See Also