Specifies a compression algorithm.
Namespace:
DidiSoftAssembly: 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 name | Description | |
|---|---|---|
| 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#
CopyVB.NET
PGPLib pgp = new PGPLib();
pgp.Compression = CompressionAlgorithm.ZLIB;Dim pgp As New PGPLib() pgp.Compression = CompressionAlgorithm.ZLIB