2.2.3.9 Any

Version 1.0 <Any> element

A custom XML section MUST be embedded in the <Any> element of the WSD message body.

This field is used to indicate how many blocks in each discovered segment are available. The XML MUST be formatted as follows.

 <PeerDist:PeerDistData>
    <PeerDist:BlockCount>
       List of block counts
    </PeerDist:BlockCount>
 </PeerDist:PeerDistData>  
  

PeerDistData: This element encloses all the custom metadata for Version 1.0 responses.

BlockCount: This element is a child of the <PeerDistData> element. This element is set to the UTF-8-encoded string representation of the hexBinary [XMLSCHEMA2/2] packed array of integers in network byte order. Each integer represents a block count. For example, if there are three block counts with the decimal values 25, 4, and 16, the hexBinary value of these block counts is 001900040010, corresponding to the three segments discovered.

Version 2.0 <Any> element

This field is used to indicate the ages for the discovered segments. The XML MUST be formatted as follows.

 <PeerDist:PeerDistData>
    <PeerDist: SegmentAges>
       List of-Segment Ages  
    </PeerDist:SegmentAges>
 </PeerDist:PeerDistData>

PeerDistData: This element encloses all custom metadata for Version 2.0 responses.

SegmentAges: This element is a child of the <PeerDistData> element. This field contains a base 64 representation of a bit array encoded as a UTF-8 string. For more details about the format of the SegmentAges field, see [MS-PCCRR].