Click or drag to resize
Pdftools logo

Sdk Class

Initialize the Toolbox add-on, manage its licensing, font directories, and get the value that will be written to the Producer metadata.
Inheritance Hierarchy
SystemObject
  PdfTools.Toolbox.InternalNativeBase
    PdfTools.Toolbox.InternalNativeObject
      PdfTools.ToolboxSdk

Namespace: PdfTools.Toolbox
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.4.0+02318d3e3f9645a1305b87026fb971a660079e54
Syntax
C#
public class Sdk : NativeObject

The Sdk type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberLicensingService

Licensing service to use for all licensing requests

This property is relevant only for page-based licenses and is used to set the Licensing Gateway Service.

The default is "https://licensing.pdf-tools.com/api/v1/licenses/" for the online Pdftools Licensing Service. If you plan to use the Licensing Gateway Service instead of the Pdftools Licensing Service, the property’s value must be a URI with the following elements:

http[s]://[‹user›[:‹password›]@]‹host›[:‹port›]

Where:

  • http/https: Protocol for connection to the Licensing Gateway Service.
  • ‹user›:‹password› (optional): Credentials for connection to the Licensing Gateway Service (basic authorization).
  • ‹host›: Hostname of the Licensing Gateway Service.
  • ‹port›: Port for connection to the Licensing Gateway Service.

Example: "http://localhost:9999"

Public propertyStatic memberProducerFullName The value that will be written by default to the Producer property of a document that is created with the Sdk.
Public propertyStatic memberVersion

The version of the Toolbox add-on

Top
Methods
 NameDescription
Public methodStatic memberAddFontDirectory

Add custom font directory

Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Public methodStatic memberInitialize Initialize the Toolbox add-on, providing a license key and default Producer value.
Top
See Also