public byte[] Serialize()
{
List<byte> result = new List<byte>
{
this.FolderInThisStore
};
result.AddRange(BitConverter.GetBytes(this.StoreEIDSize));
if (this.StoreEIDSize != 0)
{
result.AddRange(this.StoreEID);
}
result.AddRange(BitConverter.GetBytes(this.FolderEIDSize));
result.AddRange(this.FolderEID);
return result.ToArray();
}