Specifies a compression algorithm.

Namespace: DidiSoft.Pgp
Assembly: DidiSoft.Pgp (in DidiSoft.Pgp.dll) Version: 1.7.3.35547

Syntax

C#
public enum CompressionAlgorithm
Visual Basic
Public Enumeration CompressionAlgorithm
Visual C++
public enum class CompressionAlgorithm

Members

Member nameValueDescription
ZLIB0 ZLib compression algorithm
ZIP1 ZIP compression algorithm
BZIP22 BZip 2 compression algorithm
UNCOMPRESSED3 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