IPasswordLoadOptions

IPasswordLoadOptions interface

Represents load options that carry the password a protected document is opened with.

public interface IPasswordLoadOptions

Properties

Name Description
Password { get; set; } Gets or sets the password the document is opened with.

Remarks

When a document fails to load because it needs a password, or the password was wrong, the load options delegate is asked once more. FailedLoadOptions then holds a copy of the options that failed; when it implements this interface, set Password on it and return it to load the document again with that password.

For an archive entry that could not be extracted, the password returned this way applies to that entry only.

See Also