Deployment Tools Foundation
UseTempFiles Property
Gets or sets a flag indicating whether temporary files are created
and used during compression.
Declaration Syntax
Value
True if temporary files are used; false if compression is done
entirely in-memory.
Remarks
The value of this property is true by default. Using temporary
files can greatly reduce the memory requirement of compression,
especially when compressing large archives. However, setting this property
to false may yield slightly better performance when creating small
archives. Or it may be necessary if the process does not have sufficient
privileges to create temporary files.