GZipArchiver Class

A GZip file archiver.

Definition

Namespace: DevCase.ThirdParty.SevenZipSharp
Assembly: DevCase.net48.ThirdParty.SevenZipsharp (in DevCase.net48.ThirdParty.SevenZipsharp.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class GZipArchiver : Archiver
Inheritance
Object    Archiver    GZipArchiver

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

Squid-Box.SevenZipSharp

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Constructors

GZipArchiver(FileInfo) Initializes a new instance of the GZipArchiver class.
GZipArchiver(String) Initializes a new instance of the GZipArchiver class.

Methods

Add(IEnumerableString, String) Appends the source file or directory into the specified compressed archive using the default compression parameters.
(Inherited from Archiver)
Add(String, String) Appends the source file or directory into the specified compressed archive using the default compression parameters.
(Inherited from Archiver)
Add(IEnumerableString, String, String) Appends the source file or directory into the specified compressed archive, with a password, using the default compression parameters.
(Inherited from Archiver)
Add(String, String, String) Appends the source file or directory into the specified compressed archive, with a password, using the default compression parameters.
(Inherited from Archiver)
Add(IEnumerableString, String, CompressionMethod, CompressionLevel) Appends the source file or directory into the specified compressed archive using the specified compression parameters.
(Inherited from Archiver)
Add(String, String, CompressionMethod, CompressionLevel) Appends the source file or directory into the specified compressed archive using the specified compression parameters.
(Inherited from Archiver)
Add(IEnumerableString, String, String, CompressionMethod, CompressionLevel) Appends the source file or directory into the specified compressed archive, with a password, using the specified compression parameters.
(Inherited from Archiver)
Add(String, String, String, CompressionMethod, CompressionLevel) Appends the source file or directory into the specified compressed archive, with a password, using the specified compression parameters.
(Inherited from Archiver)
Build(IEnumerableString, String) Builds a compressed archive containing the source file or directory using the default compression parameters.
(Inherited from Archiver)
Build(String, String) Builds a compressed archive containing the source file or directory using the default compression parameters.
(Inherited from Archiver)
Build(IEnumerableString, String, String) Builds a compressed archive, with a password, containing the source file or directory using the default compression parameters.
(Inherited from Archiver)
Build(String, String, String) Builds a compressed archive, with a password, containing the source file or directory using the default compression parameters.
(Inherited from Archiver)
Build(IEnumerableString, String, CompressionMethod, CompressionLevel) Builds a compressed archive containing the source file or directory using the specified compression parameters.
(Inherited from Archiver)
Build(String, String, CompressionMethod, CompressionLevel) Builds a compressed archive containing the source file or directory using the specified compression parameters.
(Inherited from Archiver)
Build(IEnumerableString, String, String, CompressionMethod, CompressionLevel) Builds a compressed archive, with a password, containing the source file or directory using the specified compression parameters.
(Inherited from Archiver)
Build(String, String, String, CompressionMethod, CompressionLevel) Builds a compressed archive, with a password, containing the source file or directory using the specified compression parameters.
(Inherited from Archiver)
BuildSfx(IEnumerableString, String, SevenZipSharpSfxModule) Builds a self-extracting archive (SFX) containing the source file or directory using the default compression parameters.
(Inherited from Archiver)
BuildSfx(String, String, SevenZipSharpSfxModule) Builds a self-extracting archive (SFX) containing the source file or directory using the default compression parameters.
(Inherited from Archiver)
BuildSfx(IEnumerableString, String, String, SevenZipSharpSfxModule) Builds a self-extracting archive (SFX), with a password, containing the source file or directory using the default compression parameters.
(Inherited from Archiver)
BuildSfx(String, String, String, SevenZipSharpSfxModule) Builds a self-extracting archive (SFX), with a password, containing the source file or directory using the default compression parameters.
(Inherited from Archiver)
BuildSfx(IEnumerableString, String, SevenZipSharpSfxModule, CompressionMethod, CompressionLevel) Builds a self-extracting archive (SFX) containing the source file or directory using the specified compression parameters.
(Inherited from Archiver)
BuildSfx(String, String, SevenZipSharpSfxModule, CompressionMethod, CompressionLevel) Builds a self-extracting archive (SFX) containing the source file or directory using the specified compression parameters.
(Inherited from Archiver)
BuildSfx(IEnumerableString, String, String, SevenZipSharpSfxModule, CompressionMethod, CompressionLevel) Builds a self-extracting archive (SFX), with a password, containing the source file or directory using the specified compression parameters.
(Inherited from Archiver)
BuildSfx(String, String, String, SevenZipSharpSfxModule, CompressionMethod, CompressionLevel) Builds a self-extracting archive (SFX), with a password, containing the source file or directory using the specified compression parameters.
(Inherited from Archiver)
Dispose Releases all the resources used by this instance.
(Inherited from Archiver)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Extract(String, String) Extracts the contents of the source compressed archive to the specified diretory.
(Inherited from Archiver)
Extract(String, String, String) Extracts the contents of the source compressed archive encrypted with a password, to the specified diretory.
(Inherited from Archiver)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Returns a string that represents the current object.
(Inherited from Object)

Events

CompressionProgressChanged Occurs when the compression progress has changed.
(Inherited from Archiver)
ExtractionProgressChanged Occurs when the extraction progress has changed.
(Inherited from Archiver)
SfxCreated Occurs when a SFX is created.
(Inherited from Archiver)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also