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

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

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

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 » Tue Apr 27, 2021 12:50 pm

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?

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 14586
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 » Tue Apr 27, 2021 12:54 pm

Hello again Max921,

Are you using the Viewer SDK?
I moved your other topic from the end user Editor to the Editor SDK section, and answered assuming you were using that one, but if it's another of our SDK products - please do confirm either here or in the other topic.

Kind regards,
Stefan

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 » Tue Apr 27, 2021 1:13 pm

I use PDFXEdit lib.
(<PackageReference Include="PDFXEdit" Version="8.0.333" />)

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 14586
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 » Wed Apr 28, 2021 9:04 am

Hello Max921,

Thanks! So lets continue the discussion in the other topic that is in the correct section of the forums!

Kind regards,
Stefan

Post Reply