Skip to content

Commit 4e05049

Browse files
Merge pull request #42 from datalogics-aarroyo/update_readme
Update README with activation instructions
2 parents 7e71216 + 7a269e3 commit 4e05049

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,22 @@ Many of these sample programs automatically generate an output file or set of fi
2020
## Building and Running Samples
2121
*Samples can be built and run easily in an IDE such as Visual Studio 2022, Visual Studio 2022 for Mac, or VS Code.*
2222

23+
## Free trial & license activation
24+
25+
To activate the free trial:
26+
1. Visit https://www.datalogics.com/pdf-sdk-free-trial to obtain an activation key.
27+
2. A prompt will appear on your console when executing Datalogics sample code.
28+
29+
Alternatively, to use an activation key in code, the <em>LicenseKey</em> member of the <em>Library</em> class can be set to
30+
a valid activation key <b>prior</b> to instantiating the library.
31+
```
32+
Library.LicenseKey = "xxxx-xxxx-xxxx-xxxx";
33+
using (Library lib = new Library())
34+
{
35+
//APDFL Code
36+
}
37+
```
38+
2339
**Otherwise**, here are instructions for using **dotnet** instead:
2440

2541
Change to the directory of the program you want to work with. Here is an example:

0 commit comments

Comments
 (0)