LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Use LEADTOOLS to Encrypt a PDF file
#1
Posted
:
Thursday, December 12, 2019 4:02:01 PM(UTC)
Groups: Registered
Posts: 22
Warning!This will encrypt PDF files with RC 128 bit encryption using the password you specify. If you forget the password, then you lose your PDF file.
Do not forget the password.This sample application demonstrates how to use the LEADTOOLS
PDFFile class to add a user password to a PDF file.
To register this project into Windows Explorer as a context menu item for PDF files, run it with the
-register parameter. To unregister, run with the
-unregister parameter.
The full path and file name is passed to the application as a parameter. The code checks the file to see if it is already encrypted. If it is, the user is prompted for the current password. Then the user is prompted for a new password. If the new password is blank, then the resulting file will not be encrypted, removing the previous password if there was one.
Edited by user Friday, January 17, 2020 1:04:47 PM(UTC)
| Reason: Not specified
Robbey Rodriguez
Developer Support Engineer
LEAD Technologies, Inc.
#2
Posted
:
Wednesday, March 25, 2020 12:52:20 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 34
Make sure to read
Warning above
Updated project to LEADTOOLS Version 20 using Visual Studio 2019
Luke Duvall
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Use LEADTOOLS to Encrypt a PDF file
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.