Richard Yao
New Member
I know this needs to be realized through C# codes. I used below ZipFile to create ZIP file. But it does not allow password property. So any idea how to set password for the ZIP file?
try
{
ZipFile.CreateFromDirectory(InputDirectory, ZipFileName);
success = true;
message = String.Empty;
}
catch (Exception e)
{
success = false;
message=e.ToString();
}
try
{
ZipFile.CreateFromDirectory(InputDirectory, ZipFileName);
success = true;
message = String.Empty;
}
catch (Exception e)
{
success = false;
message=e.ToString();
}