Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
C#
VB.NET
README.md

README.md

Check if PDF document is password protected

This sample shows how to check if an existing PDF document is password protected.

You can check if a PDF document is password protected using PdfDocument.IsPasswordProtected method. This method is static, so you can perform a check before opening a PDF document. This is useful if you don't know beforehand if a password is required to open a PDF document.

You can’t perform that action at this time.