Compartir a través de


2.2.32.4.3 SRV_HASH_RETRIEVE_FILE_BASED

This response is valid for servers that implement the SMB 3.x dialect family. If the HashRetrievalType in the request is SRV_HASH_RETRIEVE_FILE_BASED, the SRV_READ_HASH response MUST be formatted as follows:


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

FileDataOffset

...

FileDataLength

...

BufferLength

Reserved

Buffer (variable)

...

FileDataOffset (8 bytes): File data offset corresponding to the start of the hash data returned.

FileDataLength (8 bytes): The length, in bytes, starting from the FileDataOffset that is covered by the hash data returned.

BufferLength (4 bytes): The length, in bytes, of the retrieved portion of the Content Information File.

Reserved (4 bytes): This field MUST NOT be used and MUST be reserved. The server MUST set this field to zero, and the client MUST ignore it on receipt.

Buffer (variable): A variable-length buffer that contains the retrieved portion of the Content Information File, as specified in [MS-PCCRC] section 2.4.