ZipArchiverBuild(String, String, String, EncryptionAlgorithm) Method
Compresses the specified source file or diretory into a Zip archive, 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 Build(
string sourceFileOrDir,
string outputFilepath,
string password,
EncryptionAlgorithm passwordEncryption
)
Public Function Build (
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.Build(sourceFileOrDir,
outputFilepath, password, passwordEncryption)
public:
String^ Build(
String^ sourceFileOrDir,
String^ outputFilepath,
String^ password,
EncryptionAlgorithm passwordEncryption
)
member Build :
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 file to create.
- password String
-
The password.
- passwordEncryption EncryptionAlgorithm
-
The encryption algorithm for the password.
String
The full path of the resulting compressed file.
FileNotFoundException
|
Source file or directory not found.
|