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

Notification

Icon
Error

Options
Go to last post Go to first unread
Paul Rayman  
#1 Posted : Tuesday, January 5, 2016 5:59:12 AM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,075

Thanks: 6 times
Was thanked: 124 time(s) in 121 post(s)
Question:
We have purchased a license but cannot find a link to the download the full version. Please instruct on where to get the download/enter the key into the trial version.

Answer:
To use the Pdfium.Net SDK you need to provide a valid license key to the Initialize method of the PdfCommon class. This can either be done directly by providing the key as a string and the call the Initialize(String key) method.
Please see the example below:
Code:

//Initialize the SDK library with license key
//You have to call this function before you can call any PDF processing functions.
PdfCommon.Initialize("42433553494d500328bd021c3fd13c295f0f22d28e311f9cfb5937fbbb94fda3eb077f57b681c1c01742a0e23ccb0e7c52ccd8ea1674baf7473992f5043a4c77d2dc5ba756cd558d2555tdc333e90a2a036xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxd092574ec50a75aaae3b461c62b70");

//Open and load a PDF document from a file.
var doc = PdfDocument.Load(@"c:\test001.pdf");

...

Edited by user Monday, November 19, 2018 4:46:32 AM(UTC)  | Reason: Not specified

thanks 1 user thanked Paul Rayman for this useful post.
nuander on 3/22/2016(UTC)
profnach0s  
#2 Posted : Tuesday, June 2, 2020 5:03:17 PM(UTC)
profnach0s

Rank: Newbie

Groups: Registered
Joined: 6/2/2020(UTC)
Posts: 1
United States

I use winforms. So PdfCommon.Initialize("XX") must be entered in every winform? Is there a way to do this globally?
Paul Rayman  
#3 Posted : Tuesday, June 2, 2020 6:53:18 PM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,075

Thanks: 6 times
Was thanked: 124 time(s) in 121 post(s)
No. PdfCommon.Initialize should be called once in the process.
huang  
#4 Posted : Saturday, July 16, 2022 9:14:56 AM(UTC)
huang

Rank: Newbie

Groups: Registered
Joined: 7/15/2022(UTC)
Posts: 2
China

Originally Posted by: Paul Rayman Go to Quoted Post
No. PdfCommon.Initialize should be called once in the process.

where should I enter the license key in pdfviewer?

Users browsing this topic
Similar Topics
Where should I enter the license key (F.A.Q.)
by Paul Rayman 1/5/2016 6:57:55 AM(UTC)
Forum Jump  
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.