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

Size() public method

Return the size of this structure.
public Size ( ) : int
return int
        public int Size()
        {
            // 23 indicates sizeof(byte) * 3 + sizeof(UInt64) * 2 + sizeof(UInt32)
            int size = sizeof(byte) * 23;
            if (this.MessageClass != null)
            {
                size += this.MessageClass.Length;
            }

            return size;
        }
    }
RopTransportNewMailRequest