ZipArchiverBuildSfx(String, String, String, EncryptionAlgorithm) Method
Compresses the specified source file or diretory into a self-extracting archive (SFX), with a password,
using the default compression parameters.
Namespace: DevCase.ThirdParty.DotNetZipAssembly: DevCase.net48.ThirdParty.DotNetZip (in DevCase.net48.ThirdParty.DotNetZip.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public string BuildSfx(
string sourceFileOrDir,
string outputFilepath,
string password,
EncryptionAlgorithm passwordEncryption
)
Public Function BuildSfx (
sourceFileOrDir As String,
outputFilepath As String,
password As String,
passwordEncryption As EncryptionAlgorithm
) As String
Dim instance As ZipArchiver
Dim sourceFileOrDir As String
Dim outputFilepath As String
Dim password As String
Dim passwordEncryption As EncryptionAlgorithm
Dim returnValue As String
returnValue = instance.BuildSfx(sourceFileOrDir,
outputFilepath, password, passwordEncryption)
public:
String^ BuildSfx(
String^ sourceFileOrDir,
String^ outputFilepath,
String^ password,
EncryptionAlgorithm passwordEncryption
)
member BuildSfx :
sourceFileOrDir : string *
outputFilepath : string *
password : string *
passwordEncryption : EncryptionAlgorithm -> string
No code example is currently available or this language may not be supported.
- sourceFileOrDir String
-
The source file or diretory.
- outputFilepath String
-
The path of the output SFX file to create.
- password String
-
The password.
- passwordEncryption EncryptionAlgorithm
-
The encryption algorithm for the password.
String
The full path of the resulting SFX file.
FileNotFoundException
|
Source file or directory not found.
|