public int Size() { int size = (sizeof(byte) * 4) + sizeof(ushort); if (null != this.RestrictionData) { size += this.RestrictionData.Length; } return size; } }