SevenZipArchiverBuild(String, String, String, CompressionMethod, CompressionLevel, Int32) Method
Builds a compressed multi-volume archive, with a password, containing the source file or directory using the default compression parameters.
Namespace: DevCase.ThirdParty.SevenZipSharpAssembly: 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 string Build(
string sourceFileOrDir,
string outputFilepath,
string password,
CompressionMethod compressionMethod,
CompressionLevel compressionLevel,
int volumeSize
)
Public Function Build (
sourceFileOrDir As String,
outputFilepath As String,
password As String,
compressionMethod As CompressionMethod,
compressionLevel As CompressionLevel,
volumeSize As Integer
) As String
Dim instance As SevenZipArchiver
Dim sourceFileOrDir As String
Dim outputFilepath As String
Dim password As String
Dim compressionMethod As CompressionMethod
Dim compressionLevel As CompressionLevel
Dim volumeSize As Integer
Dim returnValue As String
returnValue = instance.Build(sourceFileOrDir,
outputFilepath, password, compressionMethod,
compressionLevel, volumeSize)
public:
String^ Build(
String^ sourceFileOrDir,
String^ outputFilepath,
String^ password,
CompressionMethod compressionMethod,
CompressionLevel compressionLevel,
int volumeSize
)
member Build :
sourceFileOrDir : string *
outputFilepath : string *
password : string *
compressionMethod : CompressionMethod *
compressionLevel : CompressionLevel *
volumeSize : int -> string
No code example is currently available or this language may not be supported.
- sourceFileOrDir String
-
The source file or diretory to compress.
- outputFilepath String
-
The path of the output file to create.
- password String
-
The password.
- compressionMethod CompressionMethod
-
The compression method.
- compressionLevel CompressionLevel
-
The compression level.
- volumeSize Int32
-
The volumes size, in bytes.
String
The full path of the resulting compressed archive.
Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:
Squid-Box.SevenZipSharp