PdfLiteSessionSerializer Constructor (Boolean) |
Namespace: RadPdf.Lite
By default, allowBinaryFormatterFallback is true to maximize backwards compatibility.
allowBinaryFormatterFallback should only be set to true if the legacy serialized PdfLiteSession objects were stored security and now needs to be read as well. Secure implementations of RAD PDF should set DefaultFormatter to a new instance of PdfLiteSessionSerializer with allowBinaryFormatterFallback set to false or another secure serializer.
.NET 5 does not allow the use of the BinaryFormatter and will throw an exception if falling back to it.
A future version will change the default to false to enhance security.