I have to work an an old application that used binaryFormatter to serialize application data into filestream (say in a file named \"data.oldformat\") without any optimizazio
Your previous code should work. Do you get an exception? Try to use new constructor:
Protected Sub New(ByVal info As SerializationInfo, ByVal context As StreamingContext)