Table of Contents

Interface IPdfPasswordProvider

Namespace
NAPS2.Pdf
Assembly
NAPS2.Sdk.dll

Provides a callback to prompt the user for a password to import an encrypted PDF. Alternatively, if you already have the password, you can just specify it in ImportParams.

public interface IPdfPasswordProvider

Methods

ProvidePassword(string, int, out string)

bool ProvidePassword(string fileName, int attemptCount, out string password)

Parameters

fileName string
attemptCount int
password string

Returns

bool