ArchiverBuildSfx(IEnumerableString, String, String, SevenZipSharpSfxModule, CompressionMethod, CompressionLevel) Method
Builds a self-extracting archive (SFX), with a password, containing the source file or directory using the specified 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 virtual string BuildSfx(
IEnumerable<string> sourceFileOrDirs,
string outputFilepath,
string password,
SevenZipSharpSfxModule sfxModule,
CompressionMethod compressionMethod,
CompressionLevel compressionLevel
)
Public Overridable Function BuildSfx (
sourceFileOrDirs As IEnumerable(Of String),
outputFilepath As String,
password As String,
sfxModule As SevenZipSharpSfxModule,
compressionMethod As CompressionMethod,
compressionLevel As CompressionLevel
) As String
Dim instance As Archiver
Dim sourceFileOrDirs As IEnumerable(Of String)
Dim outputFilepath As String
Dim password As String
Dim sfxModule As SevenZipSharpSfxModule
Dim compressionMethod As CompressionMethod
Dim compressionLevel As CompressionLevel
Dim returnValue As String
returnValue = instance.BuildSfx(sourceFileOrDirs,
outputFilepath, password, sfxModule,
compressionMethod, compressionLevel)
public:
virtual String^ BuildSfx(
IEnumerable<String^>^ sourceFileOrDirs,
String^ outputFilepath,
String^ password,
SevenZipSharpSfxModule sfxModule,
CompressionMethod compressionMethod,
CompressionLevel compressionLevel
)
abstract BuildSfx :
sourceFileOrDirs : IEnumerable<string> *
outputFilepath : string *
password : string *
sfxModule : SevenZipSharpSfxModule *
compressionMethod : CompressionMethod *
compressionLevel : CompressionLevel -> string
override BuildSfx :
sourceFileOrDirs : IEnumerable<string> *
outputFilepath : string *
password : string *
sfxModule : SevenZipSharpSfxModule *
compressionMethod : CompressionMethod *
compressionLevel : CompressionLevel -> string
No code example is currently available or this language may not be supported.
- sourceFileOrDirs IEnumerableString
-
The source files or diretories to compress.
- outputFilepath String
-
The path of the output file to create.
- password String
-
The password.
- sfxModule SevenZipSharpSfxModule
-
The SFX module type.
- compressionMethod CompressionMethod
-
The compression method.
- compressionLevel CompressionLevel
-
The compression level.
String
The full path of the resulting self-extracting archive.
Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:
Squid-Box.SevenZipSharp
FileNotFoundException
|
Source file or directory not found.
|