UseTempFiles Property

Microsoft Deployment Tools

Deployment Tools Foundation UseTempFiles Property
Gets or sets a flag indicating whether temporary files are created and used during compression.
Declaration Syntax
C# Visual Basic Visual C++
public bool UseTempFiles { get; set; }
Public Property UseTempFiles As Boolean
public:
property bool UseTempFiles {
	bool get ();
	void set (bool value);
}
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.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression) Version: 3.0.0.0 (3.5.1623.0)