WriteBlockSize Property

The block size to use when writing file data to external storage.

Syntax

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

Default Value

1048576

Remarks

This property specifies the block size, in bytes, that the component should use when writing data to external storage via the WriteData event. Keep in mind that, in some cases (e.g., when writing the last part of a file), the amount of data being written 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 WritingCapabilities property specifies that the external storage only supports whole-file writing.

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]