
## LhaArchive class

This class represents a LHA (.lzh) archive file.

The LhaArchive type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|LhaArchive(source_stream, load_options)|Initializes a new instance of the [LhaArchive](/zip/python-net/aspose.zip.lha/lhaarchive/) class and composes an entry list can be extracted from the archive.|
|LhaArchive(path, load_options)|Initializes a new instance of the [LhaArchive](/zip/python-net/aspose.zip.lha/lhaarchive/) class and composes an entry list can be extracted from the archive.|
## Properties
| Name | Description |
| :- | :- |
|entries|Gets file entries of [LhaArchiveEntry](/zip/python-net/aspose.zip.lha/lhaarchiveentry/) type constituting the archive.|
|file_entries|Gets entries of [IArchiveFileEntry](/zip/python-net/aspose.zip/iarchivefileentry/) type constituting the archive.|
|format|Gets the archive format.|
## Methods
| Name | Description |
| :- | :- |
|extract_to_directory(destination_directory)|Extracts all the files and directories in the archive to the directory provided.|

### See Also

* namespace [aspose.zip.lha](/zip/python-net/aspose.zip.lha/)
* assembly [Aspose.Zip](/zip/python-net/)

