ArchiverBuildSfx(String, String, SevenZipSharpSfxModule, CompressionMethod, CompressionLevel) Method
Builds a self-extracting archive (SFX) 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(
string sourceFileOrDir,
string outputFilepath,
SevenZipSharpSfxModule sfxModule,
CompressionMethod compressionMethod,
CompressionLevel compressionLevel
)
Public Overridable Function BuildSfx (
sourceFileOrDir As String,
outputFilepath As String,
sfxModule As SevenZipSharpSfxModule,
compressionMethod As CompressionMethod,
compressionLevel As CompressionLevel
) As String
Dim instance As Archiver
Dim sourceFileOrDir As String
Dim outputFilepath As String
Dim sfxModule As SevenZipSharpSfxModule
Dim compressionMethod As CompressionMethod
Dim compressionLevel As CompressionLevel
Dim returnValue As String
returnValue = instance.BuildSfx(sourceFileOrDir,
outputFilepath, sfxModule, compressionMethod,
compressionLevel)
public:
virtual String^ BuildSfx(
String^ sourceFileOrDir,
String^ outputFilepath,
SevenZipSharpSfxModule sfxModule,
CompressionMethod compressionMethod,
CompressionLevel compressionLevel
)
abstract BuildSfx :
sourceFileOrDir : string *
outputFilepath : string *
sfxModule : SevenZipSharpSfxModule *
compressionMethod : CompressionMethod *
compressionLevel : CompressionLevel -> string
override BuildSfx :
sourceFileOrDir : string *
outputFilepath : string *
sfxModule : SevenZipSharpSfxModule *
compressionMethod : CompressionMethod *
compressionLevel : CompressionLevel -> 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.
- 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.
|