Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets the password to use for compressing.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Compression | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
Password | The password text. | "pass123" | |
Encoding | The text encoding for Password parameter. Default is native. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
"native" | Optional |
Returns OK or error.
Set password:
MBS( "ZipFile.UsePassword"; "Hello" )
This function checks for a license.
Created 26th February 2015, last changed 24th February 2016