PowerTCP Zip Compression for .NET
MaxMemoryStreamSize Property




Gets or sets a value (in kilobytes) which determines when buffering to a temporary file is necessary.
Syntax
<DefaultValueAttribute()>
Public Property MaxMemoryStreamSize As Integer
Dim instance As Archive
Dim value As Integer
 
instance.MaxMemoryStreamSize = value
 
value = instance.MaxMemoryStreamSize
[DefaultValue()]
public int MaxMemoryStreamSize {get; set;}
[DefaultValue()]
public: __property int get_MaxMemoryStreamSize();
public: __property void set_MaxMemoryStreamSize( 
   int value
);
[DefaultValue()]
public:
property int MaxMemoryStreamSize {
   int get();
   void set (    int value);
}

Property Value

The default value is 102400 (100 MB).
Remarks

File access speeds can be optimized when MemoryStreams can be used to buffer data, but FileStreams must be used to compress very large files. This property can be set to 0 to minimize the use of memory in favor of slower file access.

This property is only used for compression.

See Also

Reference

Archive Class
Archive Members


PowerTCP Zip for .NET Documentation Version 2.1.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic