Click or drag to resize
Pdftools logo

Sdk Class

SDK initialization and product information

Inheritance Hierarchy

Namespace: PdfTools
Assembly: PdfTools (in PdfTools.dll) Version: 1.0.0.0
Syntax
C#
public class Sdk : NativeObject

The Sdk type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberHttpClientHandler

The default handler for communication to remote servers

This instance is used wherever there is no dedicated HTTP client handler parameter.
Public propertyStatic memberProducerFullName

The producer string that is set within the metadata of PDF output documents

The producer string depends on the license key and producer suffix set in Initialize(String, String).
Public propertyStatic memberProxy

Proxy to use for all communication to remote servers

The SDK can use a proxy for all HTTP and HTTPS communication.

The default is , i.e. no proxy is used. Otherwise 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 proxy.
  • ‹user›:‹password› (optional): Credentials for connection to proxy (basic authorization).
  • ‹host›: Hostname of proxy.
  • ‹port›: Port for connection to proxy.

Example: "http://myproxy:8080"

For SSL/TLS connections, e.g. to a signature service, the proxy must allow the HTTP CONNECT request to the remote server.

Public propertyStatic memberVersion

The version of the SDK

Top
Methods
 NameDescription
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Public methodStatic memberInitialize

Initialize the product and the license key.

Before calling any of the other functions of the SDK, a license key must be set by calling this method. For licensing questions, contact pdfsales@pdftools.com.
Top
See Also