Opait PDF Library
Static Public Member Functions | List of all members
Opait.Pdf.Library Class Reference

Utility class to initialize and validate license files. More...

Static Public Member Functions

static bool SetLicense (string licenseFile)
 Initializes the library and validates the specified license file. More...
 
static bool SetLicense (byte[] licenseResource)
 Initializes the library from an byte array, such as an embedded resource file. More...
 

Detailed Description

Utility class to initialize and validate license files.

Member Function Documentation

◆ SetLicense() [1/2]

static bool Opait.Pdf.Library.SetLicense ( byte[]  licenseResource)
static

Initializes the library from an byte array, such as an embedded resource file.

Parameters
licenseResourceThe byte array with licensing info.
Returns
A flag to indicate whether the license if valid for development.

◆ SetLicense() [2/2]

static bool Opait.Pdf.Library.SetLicense ( string  licenseFile)
static

Initializes the library and validates the specified license file.

Parameters
licenseFilePath to the license file.
Returns
A flag to indicate whether the license if valid for development.