ReadBlockSize Property

The block size to use when reading file data from external storage.

Syntax

public int ReadBlockSize { get; set; }
Public Property ReadBlockSize As Integer

Default Value

1048576

Remarks

This property specifies the block size, in bytes, that the component should use when reading data from external storage via the ReadData event. Keep in mind that, in some cases (e.g., when reading the last part of a file), the amount of requested data may be less than the value specified by this property.

Applications should always set this property to a reasonable value (or use the default value), even if the ReadingCapabilities property specifies that the external storage only supports whole-file reading.

Changing this property causes the BlockSize configuration setting's value to be recalculated.

Note: This property cannot be changed when Active is true.

 
 
Copyright (c) 2020 Callback Technologies, Inc. - All rights reserved.
CBFS Cache 2020 .NET Edition - Version 20.0 [Build 7647]