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

The blocks field contains a number cSegments of SegmentContentBlocks fields. The Nth SegmentContentBlocks field corresponds to the Nth SegmentDescription and hence the Nth content segment. The SegmentContentBlocks field is formatted as follows.
Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Méthodes publiques

Свойство Type Description
BlockHashes byte[]
cBlocks uint

Méthodes publiques

Méthode Description
ToByteArray ( dwHashAlgo_Values algo ) : byte[]

Convert the structure to byte array.

Method Details

ToByteArray() public méthode

Convert the structure to byte array.
public ToByteArray ( dwHashAlgo_Values algo ) : byte[]
algo dwHashAlgo_Values The hash algorithm to use.
Résultat byte[]

Property Details

BlockHashes public_oe property

SHA-256, SHA-384 or SHA-512 hash of each content block in the order in which the blocks appear in the segment. The size of this field is cBlocks * (32, 48 or 64, depending on which hash was used).
public byte[] BlockHashes
Résultat byte[]

cBlocks public_oe property

Number of content blocks in the segment which intersect the content range specified at the start of the content information.
public uint cBlocks
Résultat uint