'DeclarationPublic Property AllowSpanning As Boolean
'UsageDim instance As ZipArchive Dim value As Boolean instance.AllowSpanning = value value = instance.AllowSpanning
public bool AllowSpanning {get; set;}
'DeclarationPublic Property AllowSpanning As Boolean
'UsageDim 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.
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Standard: netstandard2.0, netstandard2.1
.NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.