Xceed .NET Libraries Documentation
Xceed.GZip Assembly / Xceed.GZip Namespace / QuickGZip Class / GZip Method / GZip(String,String) Method
The full path of the destination GZip file
The path of the file to add to the GZip file.


In This Topic
    GZip(String,String) Method
    In This Topic
    Adds the specified file to the GZip file.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub GZip( _
       ByVal gzipFileName As String, _
       ByVal fileToGZip As String _
    ) 
    'Usage
     
    Dim gzipFileName As String
    Dim fileToGZip As String
     
    QuickGZip.GZip(gzipFileName, fileToGZip)
    public static void GZip( 
       string gzipFileName,
       string fileToGZip
    )

    Parameters

    gzipFileName
    The full path of the destination GZip file
    fileToGZip
    The path of the file to add to the GZip file.
    Remarks
    QuickGZip only supports single file compression because although the compression process allows compression of multiple files, the content of the entire GZip file must first be uncompressed before adding additional files to the GZip file.
    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