C# Class Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pccrc.Content_Information_Data_Structure_V2

Mostrar archivo Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
bMajorVersion byte
bMinorVersion byte
dwHashAlgo dwHashAlgoV2_Values

Public Methods

Method Description
GetBlockCount ( ) : int
GetSegmentId ( int chunkIndex, int segmentIndex ) : byte[]
ToByteArray ( ) : byte[]

Convert the structure to byte array.

Method Details

GetBlockCount() public method

public GetBlockCount ( ) : int
return int

GetSegmentId() public method

public GetSegmentId ( int chunkIndex, int segmentIndex ) : byte[]
chunkIndex int
segmentIndex int
return byte[]

ToByteArray() public method

Convert the structure to byte array.
public ToByteArray ( ) : byte[]
return byte[]

Property Details

bMajorVersion public_oe property

Content Information major version. MUST be 0x02.
public byte bMajorVersion
return byte

bMinorVersion public_oe property

Content Information minor version. MUST be 0x00.
public byte bMinorVersion
return byte

dwHashAlgo public_oe property

Hash algorithm to use.
public dwHashAlgoV2_Values dwHashAlgo
return dwHashAlgoV2_Values