C# Class Microsoft.Protocols.TestSuites.Pccrr.ContentInformationDataStructure

Content Information is a variable size data structure. Content Information size is proportional to the length of the content it represents. Content Information starts with a single 2 byte WORD value representing the data structure version. Version 1.0 of the Content Information data structure is formatted as follows. All fields are in host byte order.
Show file Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
Blocks Microsoft.Protocols.TestSuites.Pccrr.SegmentContentBlocks[]
CSegments uint
DWHashAlgo DwHashAlgo_Values
DWOffsetInFirstSegment uint
DWReadBytesInLastSegment uint
Segments Microsoft.Protocols.TestSuites.Pccrr.SegmentDescription[]
Version ushort

Property Details

Blocks public property

Count of blocks and content block hashes for each block intersecting the content range for each segment in the Content Information structure. Each set of blocks for a segment is as specified in .
public SegmentContentBlocks[],Microsoft.Protocols.TestSuites.Pccrr Blocks
return Microsoft.Protocols.TestSuites.Pccrr.SegmentContentBlocks[]

CSegments public property

The number of segments which intersect the content range and hence are contained in the Content Information structure.
public uint CSegments
return uint

DWHashAlgo public property

Hash algorithm to use. MUST be one of the following values:
public DwHashAlgo_Values DWHashAlgo
return DwHashAlgo_Values

DWOffsetInFirstSegment public property

Number of bytes into the first segment within the Content Information data structure at which the content range begins.
public uint DWOffsetInFirstSegment
return uint

DWReadBytesInLastSegment public property

Total number of bytes of the content range which lie within the final segment in the Content Information structure.
public uint DWReadBytesInLastSegment
return uint

Segments public property

Segment start offset, length, block size, Segment Hash of Data and Segment Secret for each segment. Each segment description is as specified in .
public SegmentDescription[],Microsoft.Protocols.TestSuites.Pccrr Segments
return Microsoft.Protocols.TestSuites.Pccrr.SegmentDescription[]

Version public property

Content Information version (0x0100 is version 1.0). The low byte is the minor version number and the high byte is the major version number. MUST be 0x0100.
public ushort Version
return ushort