ComponentOne Zip for .NET 2.0
C1.Zip Assembly / C1.Zip Namespace / C1ZipFile Class / MemoryThreshold Property

In This Topic
    MemoryThreshold Property
    In This Topic
    Gets or sets the size of the largest stream to be compressed in memory.
    Syntax
    Public Property MemoryThreshold As Integer
    public int MemoryThreshold {get; set;}
    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.

    See Also