C# Класс 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
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CSegments uint
DwHashAlgo DwHashAlgo_Values
DwOffsetInFirstSegment uint
DwReadBytesInLastSegment uint
Version ushort

Описание свойств

CSegments публичное свойство

The number of segments which intersect the content range and hence are contained in the Content Information structure.
public uint CSegments
Результат uint

DwHashAlgo публичное свойство

Hash algorithm to use. MUST be one of the following values:
public DwHashAlgo_Values DwHashAlgo
Результат DwHashAlgo_Values

DwOffsetInFirstSegment публичное свойство

Number of bytes into the first segment within the Content Information data structure at which the content range begins.
public uint DwOffsetInFirstSegment
Результат uint

DwReadBytesInLastSegment публичное свойство

Total number of bytes of the content range which lie within the final segment in the Content Information structure.
public uint DwReadBytesInLastSegment
Результат uint

Version публичное свойство

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
Результат ushort