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

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.v21.1.dll

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