Skip to main content

WrongPasswordException.Password Property

Gets the name of the incorrect password which caused an exception.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v23.2.dll

NuGet Package: DevExpress.Document.Processor


public string Password { get; }

Property Value

Type Description

A string that is the incorrect password.


Use the try.. catch statement when calling the ZipArchive.Extract or the ZipItem.Extract method to catch the WrongPasswordException exception and inform the end-user that the password is incorrect.

See Also