public virtual bool Deserialize(Stream stream) { using (ObjectStream OBS = new ObjectStream(stream)) { FileHash = OBS.ReadData(); FileVersion = OBS.ReadUInt64(); RemoteFilename = OBS.ReadString(); Data = OBS.ReadData(); } return true; }