Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WrongPasswordException.Password Property

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

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v24.2.dll

NuGet Package: DevExpress.Document.Processor

#Declaration

public string Password { get; }

#Property Value

Type Description
String

A string that is the incorrect password.

#Remarks

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