Hello,
I've been battling over this problem for
the better part of a day, so I'd appreciate it
if someone could shed some light here.
I have a file which is produced by the custom binary
serialization of an object (i.e. by implementing the
ISerializable interface). This object has a hashtable
as one of its members, and this hashtable is
properly populated before the object that
contains it is serialized to disk (again using
custom serialization).
I can confirm that when the file is created, it
has information on the contents of the hashtable.
However, when the object is deserialized, the
hashtable now has all the data zapped from it.
I've checked and rechecked that I am using the
right names to put data in the SerializationInfo
object in GetObjectData, and to extract the data
in the special serialization constructor.
I wish I could know what went on behind
the scenes between the call to deserialize the
object and the call to the special constructor.
It's as if the SerializationInfo object is not
being properly populated from the data in the
file.
Any help would be greatly appreciated.
--
Akin
aknak at aksoto dot idps dot co dot uk