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 Class

An exception that is thrown when an encrypted zip file item is extracted with an invalid password.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v24.2.dll

NuGet Package: DevExpress.Document.Processor

#Declaration

public class WrongPasswordException :
    Exception

#Remarks

If a ZipItem.Password property for the encrypted zip item contains an invalid password, the call to the ZipItem.Extract method fires the WrongPasswordException exception. Wrap the ZipItem.Extract method call in try..catch statements to intercept the exception.

#Inheritance

Object
Exception
WrongPasswordException
See Also