Example #1
0
 public virtual bool Serialize(Stream stream)
 {
     using (ObjectStream OBS = new ObjectStream(stream))
     {
         OBS.WriteData(FileHash);
         OBS.WriteUInt64(FileVersion);
         OBS.WriteString(RemoteFilename);
         OBS.WriteData(Data);
     }
     return true;
 }