EnableClrSerialization Property
EnableClrSerialization
Whether to enable CLR serialization via BinaryFormatter.
Declaration
public bool EnableClrSerialization { get; set; }
Property Value
bool |
Remarks
BinaryFormatter is now
considered insecure, and CLR serialization is disabled by default. In order to enable CLR
serialization, set this value to true
.
Note that if a global serializer is configured via GlobalSerializer, then this
option must be true, and OverrideClrSerialization must
be false, for CLR serialization to be enabled.