Microsoft.Protocols.TestSuites.Common.RopSynchronizationConfigureRequest.Size C# (CSharp) Method

Size() public method

Return the size of RopSynchronizationConfigure request buffer structure.
public Size ( ) : int
return int
        public int Size()
        {
            // 16 indicates sizeof (byte) * 6 + sizeof (UInt16) * 3 + sizeof (UInt32)
            int size = sizeof(byte) * 16;
            size += this.RestrictionDataSize;
            for (int i = 0; i < this.PropertyTagCount; i++)
            {
                size += this.PropertyTags[i].Size();
            }
                                                                                                                                                                                                
            return size;
        }
    }
RopSynchronizationConfigureRequest