FileOptions

FileOptions enum

Represents advanced options for creating FileStream object.

enum class FileOptions

Values

NameValueDescription
None0No additional options.
Encrypted16384The file is encrypted. NOT IMPLEMENTED.
DeleteOnClose67108864The file should be automatically deleted when it is not in use anymore.
SequentialScan134217728The file shoud be accesses sequentially.
RandomAccess268435456The file is accessed randomly.
Asynchronous1073741824The file can be used for asynchronous I/O operations. NOT IMPLEMENTED.
WriteThroughn/aAll writes should go directly to the disk bypassing any intermediate cache.

See Also