CompressionFileType

CompressionFileType class

Defines compression formats. Includes the following file types: Zip. Rar. SevenZ. Tar. Gz. Gzip. Bz2. Lz. Z. Xz. Xz. Cpio. Cab. Lzma. Zst. Uue. Learn more about compression formats here.

public sealed class CompressionFileType : FileType

Constructors

Name Description
CompressionFileType() Serialization constructor

Properties

Name Description
Description { get; } File type description
Extension { get; } The file extension
Family { get; } The file family
FileFormat { get; } The file format

Methods

Name Description
CompareTo(object) Compares current object to other.
override Equals(Enumeration) Implements Equals
override Equals(object) Determines whether two object instances are equal.
override GetHashCode() Serves as the default hash function.
override ToString() String representation

Fields

Name Description
static readonly Bz2 BZ2 are compressed files generated using the BZIP2 open source compression method, mostly on UNIX or Linux system. It is used for compression of a single file and is not meant for archiving of multiple files. Learn more about this file format here.
static readonly Cab A file with a .cab extension belongs to a windows cabinet file that belongs to the category of system files. It is a file that is saved in the archive file format in the versions of Microsoft Windows that support compressed data algorithms, such as the LZX, Quantum, and ZIP. Learn more about this file format here.
static readonly Cpio Cpio is a general file archiver utility and its associated file format. It is primarily installed on Unix-like computer operating systems.
static readonly Gz A GZ file is a compressed archive that is created using the standard gzip (GNU zip) compression algorithm. It may contain multiple compressed files, directories and file stubs. Learn more about this file format here.
static readonly Gzip A Gzip file is a compressed archive that is created using the standard gzip (GNU zip) compression algorithm. It may contain multiple compressed files, directories and file stubs. Learn more about this file format here.
static readonly Iso A file with .iso extension is an uncompressed archive disk image file that represents the contents of entire data on an optical disc such as CD or DVD. Based on the ISO-9660 standard, the ISO image file format contains the disc data along with the filesystem information that is stored in it. Learn more about this file format here.
static readonly Lz A file with .lz extension is a compressed archive file created with Lzip, which is a free command-line tool for compression. It supports concatenation to compress support files. LZ files have media type application/lzip and support higher compression rations than BZ2. Learn more about this file format here.
static readonly Lzma A file with .lzma extension is a compressed archive file created using the LZMA (Lempel-Ziv-Markov chain Algorithm) compression method. These are mainly found/used on Unix operating system and are similar to other compression algorithms such as ZIP for minimising file size. Learn more about this file format here.
static readonly Rar Files with .rar extension are archive files that are created for storing information in compressed or normal form. RAR, which stands for Roshal ARchive file format. Learn more about this file format here.
static readonly SevenZ 7z is an archiving format for compressing files and folders with a high compression ratio. It is based on Open Source architecture which makes it possible to use any compression and encryption algorithms. Learn more about this file format here.
static readonly Tar Files with .tar extension are archives created with Unix-based utility for collecting one or more files. Multiple files are stored in an uncompressed format with the support of adding files as well as folders to the archive. Learn more about this file format here.
static readonly Uue A uuencoded archive is a file or collection of files that have been encoded using the Unix-to-Unix encoding scheme (uuencode). This encoding method converts binary data into a text format, which makes it easier to send files over channels that only support text, such as email.
static readonly Xz XZ is a compressed file format that utilizes the LZMA2 compression algorithm. It was designed as a replacement for the popular gzip and bzip2 formats, and offers a number of advantages over these older standards. Learn more about this file format here.
static readonly Z A Z file is a category of files belonging to the UNIX Compressed data files. Compressed Unix files are the most popular and widely used extension type of the Z file. Learn more about this file format here.
static readonly Zip A file with .zip extension is an archive that can hold one or more files or directories. The archive can have compression applied to the included files in order to reduce the ZIP file size. Learn more about this file format here.
static readonly Zst A ZST file is a compressed file that is generated with the Zstandard (zstd) compression algorithm. It is a compressed file that is created with lossless compression by the algorithm. Learn more about this file format here.

See Also