C# Class Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2.SRV_HASH_RETRIEVE_FILE_BASED

The SRV_READ_HASH response is returned to the client by the server in an SMB2 IOCTL Response for the FSCTL_SRV_READ_HASH request. This structure is placed in the Buffer field in the SMB2 IOCTL Response, and the OutputOffset and OutputCount fields MUST be updated to describe the buffer as specified in section 2.2.32. The SRV_READ_HASH response MUST be formatted as follows:
Show file Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
BufferLength uint
FileDataLength ulong
FileDataOffset ulong
Reserved SRV_READ_HASH_Response_Reserved_Values

Property Details

BufferLength public property

The length, in bytes, of the retrieved portion of the Content Information data structure.
public uint BufferLength
return uint

FileDataLength public property

The length, in bytes, starting from the FileDataOffset that is covered by the hash data returned.
public ulong FileDataLength
return ulong

FileDataOffset public property

File data offset corresponding to the start of the hash data returned.
public ulong FileDataOffset
return ulong

Reserved public property

This field MUST NOT be used and MUST be reserved. The server MUST set this field to 0, and the client MUST ignore it on receipt.
public SRV_READ_HASH_Response_Reserved_Values Reserved
return SRV_READ_HASH_Response_Reserved_Values