Compresses files defined by set into a GZIP archive. New GZIP file is created (existing GZIP file is overwritten).

Namespace:  Rebex.IO.Compression
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public Sub Compress ( _
	set As FileSet, _
	archivePath As String _
)
C#
public void Compress(
	FileSet set,
	string archivePath
)

Parameters

set
Type: Rebex.IO..::..FileSet
FileSet describing which files are to be compressed.
archivePath
Type: System..::..String
Path to a GZIP archive where the files are to be compressed.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also