Back to Devexpress

WrongPasswordException Class

officefileapi-devexpress-dot-compression-f76a535b.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public class WrongPasswordException :
    Exception
vb
Public Class WrongPasswordException
    Inherits 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.

Implements

ISerializable

_Exception

Inheritance

Object Exception WrongPasswordException

See Also

WrongPasswordException Members

DevExpress.Compression Namespace