C# SDK Сheck if the file is encrypted before opening

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
Max921
User
Posts: 4
Joined: Tue Apr 27, 2021 12:14 pm

C# SDK Сheck if the file is encrypted before opening

Post by Max921 »

1) Is it possible to check if a file is encrypted before opening? If so, how?
2) How to open a file with a given password so that the password entry window does not appear?
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: C# SDK Сheck if the file is encrypted before opening

Post by Sasha - Tracker Dev Team »

Hello Max921,

Please post in the appropriate SDK forum thread - you will be assisted there.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Max921
User
Posts: 4
Joined: Tue Apr 27, 2021 12:14 pm

Re: C# SDK Сheck if the file is encrypted before opening

Post by Max921 »

Ok, thanks
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17810
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: C# SDK Сheck if the file is encrypted before opening

Post by Tracker Supp-Stefan »

Hello Max921,

You posted in the end user section of our forums, with an SDK question.
Please note that our SDKs are no longer available for purchase:
https://www.pdf-xchange.com/compan ... s/view/252

So unless you already have a license for our SDK products - the below will be of little use to you but if you do have the license - this topic discusses pretty much the same as what you are trying to achieve and there's even code sample in there, so I hope this helps:
viewtopic.php?f=66&t=29566&p=116579&hil ... ck#p116579

Kind regards,
Stefan
Post Reply