.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ZipItem.Password Property

Gets or sets a password used for encrypting the content of a zip item.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v21.1.dll

Declaration

public string Password { get; set; }

Property Value

Type Description
String

A string that specifies the password for encryption.

Remarks

When you specify a ZipItem.Password value for the zip item with the ZipItem.EncryptionType set to EncryptionType.None (default value), then the ZipItem.EncryptionType is set to EncryptionType.PkZip automatically.

The Password property enables you to specify a distinct password for each zip item. To set a password for the entire archive, use the ZipArchive.Password property.

See Also