How to automatically deserialize a file that was serialized using BinaryFormatter?

52 Views Asked by At

Problem

I have a large file that was serialized using BinaryFormatter that I need to create a class for, so that I can serialize similar files.

What I have tried

I came across this answer that explains how to do this manually.

However, the file I have is over 500kB, so this would take a very long time by hand.

Question

Is there a way to automatically get the structure(s) described within the file?

0

There are 0 best solutions below