IsoArchive.ExtractToDirectory
IsoArchive.ExtractToDirectory method
Extracts all entries to the specified directory.
public void ExtractToDirectory(string destinationDirectory)
Parameter | Type | Description |
---|---|---|
destinationDirectory | String | The directory to extract the entries to. |
Exceptions
exception | condition |
---|---|
InvalidOperationException | Thrown when the archive is in editing mode. |
ArgumentNullException | Thrown when the destinationDirectory is null. |
Examples
The following example shows how to extract all entries to a directory:
using (var archive = new IsoArchive(File.OpenRead("archive.iso")))
{
archive.ExtractToDirectory("C:\\extracted");
}
See Also
- class IsoArchive
- namespace Aspose.Zip.Iso
- assembly Aspose.Zip