I am using BinaryFormatter to do binary serialization of some objects in C#. However, some of the objects contain classes that I access via a DLL and do not hav
BinaryFormatter
Create a new class, inherit the existing class that is not marked with serialization attribute and implement ISerializable interface.
If the class is sealed then you can use Json.NET and then convert it to binary and vice versa (Sucks big time, use it if nothing else can help :)).