ArchiverAdd(IEnumerableString, String, String) Method

Appends the source file or directory into the specified compressed archive, with a password, using the default compression parameters.

Definition

Namespace: DevCase.ThirdParty.SevenZipSharp
Assembly: DevCase.net48.ThirdParty.SevenZipsharp (in DevCase.net48.ThirdParty.SevenZipsharp.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual string Add(
	IEnumerable<string> sourceFileOrDirs,
	string outputFilepath,
	string password
)

Parameters

sourceFileOrDirs  IEnumerableString
The source files or diretories to append.
outputFilepath  String
The path of the output file to create.
password  String
The password.

Return Value

String
The full path of the resulting compressed archive.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

Squid-Box.SevenZipSharp

Exceptions

FileNotFoundException Source file or directory not found.

See Also