C1.C1Zip Namespace > C1ZipFile Class : MemoryThreshold Property |
'Declaration
Public Property MemoryThreshold As System.Integer
public System.int MemoryThreshold {get; set;}
C1ZipFile compresses entries into temporary streams before adding them to the zip file.
Entries with fewer than MemoryThreshold bytes are compressed using a temporary memory stream.
Entries with more than MemoryThreshold bytes are compressed using a temporary file. You can control the location of the temporary file using the TempFileName property.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2