C# Class Microsoft.Protocols.TestSuites.Pchc.SegmentInformation

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.
The remarks xml document .\NewTDxml\36171657-7f15-419e-973b-6612b1799117.xml
Show file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
CSegments uint
DwHashAlgo DwHashAlgo_Values
DwOffsetInFirstSegment uint
DwReadBytesInLastSegment uint
Version ushort

Property Details

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

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