Xceed .NET Libraries Documentation
AllowMultipleFiles Property


Xceed.GZip Assembly > Xceed.GZip Namespace > GZipArchive Class : AllowMultipleFiles Property
Gets or sets a boolean value indicating whether multiple files are allowed in GZip archives.
Syntax
'Declaration
 
Public Shared Property AllowMultipleFiles As Boolean
'Usage
 
Dim value As Boolean

 

GZipArchive.AllowMultipleFiles = value

 

value = GZipArchive.AllowMultipleFiles
public static bool AllowMultipleFiles {get; set;}

Property Value

A boolean value indicating whether multiple files are allowed in GZip archives.
Remarks

Changing this property while GZipArchive or GZippedFile instances already exist does not affect those instances until the inner host file gets updated.

When reading an existing GZip archive, if this property is true, the whole archive will be scanned for multiple file entries. This can be costly since each file entry's data must be decompressed in order to find the next file entry. If you know your GZip archives only contain a single file (for example, a Tar file), keep this property set to false (the default value).

When creating or updating a GZip archive, if this property is false, the library will prevent you from creating more than one GZippedFile in the GZip archive and throw an exception if you attempt to do so.

Requirements

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

See Also

Reference

GZipArchive Class
GZipArchive Members