Specifies a compression algorithm.

Namespace:  DidiSoft
Assembly:  PGPLib (in PGPLib.dll) Version: 1.6.3.19546

Syntax

C#
public enum CompressionAlgorithm
Visual Basic (Declaration)
Public Enumeration CompressionAlgorithm
Visual C++
public enum class CompressionAlgorithm

Members

Member nameDescription
ZLIB
ZLib compression algorithm
ZIP
ZIP compression algorithm
BZIP2
BZip 2 compression algorithm
UNCOMPRESSED
Data is not compressed

Examples

This example demonstrates how to specify the preferred compression algorithm used by the library.
CopyC#
PGPLib pgp = new PGPLib();
pgp.Compression = CompressionAlgorithm.ZLIB;
CopyVB.NET
Dim pgp As New PGPLib()
pgp.Compression = CompressionAlgorithm.ZLIB

See Also