BinaryFormatter.Deserialize. Changing Type

353 views Asked by At

I am using Binary serialization.

In one instance I am serializing a Dictionary<SubType, string>, however I now need to change it to Dictionary<BaseType, string> for later versions, whilst still being able to deserialize the former.

I've looked into SerializationBinder but I'm not sure it's what I need.

Is there any way around this?

0

There are 0 answers