Skip to content

.NET Client Library

The PdfBroker.Client NuGet package lets you generate PDF documents using strongly typed objects and the familiar System.Xml namespace.

Installation

Install the package from NuGet:

dotnet add package PdfBroker.Client

Or using the Package Manager Console:

Install-Package PdfBroker.Client

The package is available on NuGet.org.

Version 2.0.0

The latest version includes:

  • Support for PdfMetadataDto object in XSL-FO service requests
  • Updated error handling — failed requests no longer throw exceptions. Instead, the PDF byte array returns null and error details are exposed via the LatestPdfRequestError property

Features

  • Strongly typed request/response objects for all API endpoints
  • Built on System.Xml for XSL-FO document building
  • Supports all PdfBroker.io services (HTML, XSL-FO, PDF utilities)
  • Handles authentication automatically