I am trying to deserialize a stream but I always get this error \"End of Stream encountered before parsing was completed\"?
Here is the code:
I had the same exception thrown, until I added the [Serializable] tag to the class I was Serializing :)
Then it all worked perfectly.