ResizingCapabilities Property

The file resizing capabilities supported by the external storage.

Syntax

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

Default Value

0x33

Remarks

This property specifies any and all behaviors of the external storage which are relevant when resizing files. The cache will automatically alter its own behavior based on this property's "description" of how the external storage is able to resize files.

This property should be set by OR'ing together zero or more of the following flags:

RSZCAP_GROW_TO_ANY0x00000001Files can grow to any size.

RSZCAP_SHRINK_TO_ANY0x00000002Files can shrink to any size.

RSZCAP_GROW_TO_BLOCK_MULTIPLE0x00000004Files can grow to sizes that are a multiple of the block size.

RSZCAP_SHRINK_TO_BLOCK_MULTIPLE0x00000008Files can shrink to sizes that are a multiple of the block size.

RSZCAP_TRUNCATE_ON_OPEN0x00000010The external storage (or application itself) supports truncating a file when it is opened for writing.

RSZCAP_TRUNCATE_AT_ZERO0x00000020The external storage (or application itself) supports truncating a file to zero at any time (not just when it's being opened).

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]