public int Size()
{
// 11 indicates sizeof(byte) * 3 + sizeof(UInt16) * 2 + sizeof(UInt32)
int size = sizeof(byte) * 11;
size += this.RestrictionDataSize;
for (int i = 0; i < this.FolderIdCount; i++)
{
size += sizeof(ulong);
}
return size;
}
}