'Declaration Public Property AllowSpanning As Boolean
'Usage Dim instance As ZipArchive Dim value As Boolean instance.AllowSpanning = value value = instance.AllowSpanning
public bool AllowSpanning {get; set;}
'Declaration Public Property AllowSpanning As Boolean
'Usage Dim instance As ZipArchive Dim value As Boolean instance.AllowSpanning = value value = instance.AllowSpanning
public bool AllowSpanning {get; set;}
If set to false and the destination disk runs out of space, an exception will be thrown. If set to true and the destination disk runs out of space, the DiskRequired event will be raised.
Setting this property to true will result in 4 bytes being written at the beginning of the zip file indicating that the file is a spanned zip file. If this property is always left to true, in the case where the zip file is not spanned, some applications (like WinZip) may report that the zip file is spanned. A zip file that does not span or split, and contains this 4 byte header is still a valid and readable zip file.
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