Gets or sets the size of the largest stream to be compressed in memory.
Namespace:
C1.C1ZipAssembly: C1.Phone.Zip (in C1.Phone.Zip.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
C# |
---|
public int MemoryThreshold { get; set; } |
Visual Basic |
---|
Public Property MemoryThreshold As Integer Get Set |
XAML Attribute Usage |
---|
<object MemoryThreshold="int" .../> |
Remarks
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.