Specifies whether file data is removed from the cache when the file is closed.
property CachePolicyPurgeOnClose : boolean;
void SetCachePolicyPurgeOnClose(BOOL Value);
Public Property CachePolicyPurgeOnClose As Boolean
void setCachePolicyPurgeOnClose(boolean value)
Use this property to tell the driver whether file data must remain in the cache or be removed from the cache when the file is closed. By default CachePolicyPurgeOnClose is false and the driver keeps the data for future use.
The cache is allocated on per-process basis in user-mode memory. This means that if you have several CallbackFileSystem objects, they will share the same cache and changing Cache* properties for one object will result in process-wide changes.
The property may be changed only after the successful call to MountMedia() method and only from outside of callback / event handlers.