Table of Contents

Method ThrowUnopenable

Namespace
DocWright.Cryptography
Assembly
DocWright.Cryptography.dll

ThrowUnopenable(bool)

Throws the exception that describes why this package cannot be opened without help: either no password was supplied, or the scheme is one DocWright does not decrypt.

public void ThrowUnopenable(bool passwordWasSupplied)

Parameters

passwordWasSupplied bool

Whether the caller supplied a password.

Exceptions

DocumentEncryptedException

Always.