C# 클래스 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.
파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BlockHashes byte[]
cBlocks uint

공개 메소드들

메소드 설명
ToByteArray ( dwHashAlgo_Values algo ) : byte[]

Convert the structure to byte array.

메소드 상세

ToByteArray() 공개 메소드

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

프로퍼티 상세

BlockHashes 공개적으로 프로퍼티

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
리턴 byte[]

cBlocks 공개적으로 프로퍼티

Number of content blocks in the segment which intersect the content range specified at the start of the content information.
public uint cBlocks
리턴 uint