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

All Peer Content Caching and Retrieval: Hosted Cache Protocol [MS-PCHC] request messages use a common header, which consists of the following fields.
Show file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
MajorVersion byte
MinorVersion byte
MsgType PCHCMessageType
Padding byte[]

Property Details

MajorVersion public property

MajorVersion (1 byte): The major part of the version, which MUST be 0x01.
public byte MajorVersion
return byte

MinorVersion public property

MinorVersion (1 byte): The minor part of the version, which MUST be 0x00.
public byte MinorVersion
return byte

MsgType public property

Type (2 bytes): A 16-bit unsigned integer that specifies the message type.
public PCHCMessageType MsgType
return PCHCMessageType

Padding public property

Padding (4 bytes): The value of this field is indeterminate and MUST be ignored on processing
public byte[] Padding
return byte[]