From 7a269e3d1f0f8a00059b86ac3c927a949e19562c Mon Sep 17 00:00:00 2001 From: Arnulfo Arroyo Date: Tue, 21 May 2024 14:17:33 -0500 Subject: [PATCH] Update README with activation instructions --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 7ef90ef..88f3d34 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,22 @@ Many of these sample programs automatically generate an output file or set of fi ## Building and Running Samples *Samples can be built and run easily in an IDE such as Visual Studio 2022, Visual Studio 2022 for Mac, or VS Code.* +## Free trial & license activation + +To activate the free trial: +1. Visit https://www.datalogics.com/pdf-sdk-free-trial to obtain an activation key. +2. A prompt will appear on your console when executing Datalogics sample code. + +Alternatively, to use an activation key in code, the LicenseKey member of the Library class can be set to +a valid activation key prior to instantiating the library. +``` +Library.LicenseKey = "xxxx-xxxx-xxxx-xxxx"; +using (Library lib = new Library()) +{ + //APDFL Code +} +``` + **Otherwise**, here are instructions for using **dotnet** instead: Change to the directory of the program you want to work with. Here is an example: