Xceed .NET Libraries Documentation
CloseZipFile(ZipEndHeader) Method


Xceed.Zip Assembly > Xceed.Zip.ReaderWriter Namespace > ZipWriter Class > CloseZipFile Method : CloseZipFile(ZipEndHeader) Method
Closes the Zip file by writing the data descriptor for the last item and then writing the central header, the end header locator, and the specified end header.
Syntax
'Declaration
 
Public Overloads Sub CloseZipFile( _

   ByVal endHeader As ZipEndHeader _

) 
'Usage
 
Dim instance As ZipWriter

Dim endHeader As ZipEndHeader

 

instance.CloseZipFile(endHeader)
public void CloseZipFile( 

   ZipEndHeader endHeader

)

Parameters

endHeader
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

ZipWriter Class
ZipWriter Members
Overload List