Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, December 12, 2019 4:02:01 PM(UTC)

Robbey  
Robbey

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.

File Attachment(s):
demo-cs-pdf-encrypter.zip (27kb) downloaded 26 time(s).

Edited by user Friday, January 17, 2020 1:04:47 PM(UTC)  | Reason: Not specified

Robbey Rodriguez
Developer Support Engineer
LEAD Technologies, Inc.
Leadtools Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, March 25, 2020 12:52:20 PM(UTC)
Luke Duvall

Groups: Registered, Tech Support, Administrators
Posts: 34


Make sure to read Warning above

Updated project to LEADTOOLS Version 20 using Visual Studio 2019

File Attachment(s):
demo-cs-pdf-encrypter.zip (27kb) downloaded 27 time(s).
Luke Duvall
Developer Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.083 seconds.