Evaluation Limitations and Licensing of GroupDocs.Signature

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Signature MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-signature -- dnx GroupDocs.Signature.Mcp --yes
Folders, licensing and more →

To help you explore the library quickly, GroupDocs.Signature offers a Free Trial and a 30-day Temporary License for evaluation, along with various purchase plans.

Note
General policies and practices for evaluating, licensing, and purchasing our products are described in the Purchase Policies and FAQ section.

Free Trial or Temporary License

You can try GroupDocs.Signature without purchasing a license.

Free Trial

The evaluation version is the same package as the licensed one: it becomes fully licensed when you apply a license, as described below. Without a license, the following limitations apply:

OperationLimitation
Every operationDocuments with more than two pages are not processed. Signing, searching, verifying, generating previews, or getting document information throws GroupDocsSignatureException with the message “The number of pages cannot exceed 2 in a trial version”.
SignAn evaluation line (“Created with evaluation version of GroupDocs.Signature”) is added to every page of the signed document.
SearchFound signatures report masked values. A text signature’s text is replaced by the evaluation notice. A barcode or QR code value comes back with its last characters replaced by *, followed by an evaluation notice.
VerifyText, barcode, and QR code verification compares against the masked values, so IsValid is false even for a document that carries the expected signature.

Temporary License

To test GroupDocs.Signature without these limitations, request a 30-day Temporary License. For more information, see the Get a Temporary License page.

How to Set Up a License

Note
For information on pricing, visit the Pricing Information page.

The license file contains details such as the product name, the number of developers it is licensed to, and the subscription expiry date. It also contains a digital signature, so do not change the file: even an extra line break makes the license invalid.

Once you have a license, apply it in one of the ways below. A license should be set:

  • only once per application, and
  • before you use any other GroupDocs.Signature class.
Tip
The license can be set more than once per application, but set it only once: each SetLicense call takes processing time. In a console or desktop application, set it in the startup code. In an ASP.NET Core application, set it in Program.cs before the application starts. In an ASP.NET (.NET Framework) application, set it in Application_Start in Global.asax, not in Page_Load.

Set License from a File

The following code sets a license from a file. The easiest way is to put the license file in the same folder as GroupDocs.Signature.dll and give the file name without a path:

using GroupDocs.Signature;

// The license file next to GroupDocs.Signature.dll; change the name to match yours
string licensePath = "GroupDocs.Signature.lic";

// Apply the license once, before using any other GroupDocs.Signature API
License license = new License();
license.SetLicense(licensePath);
Tip
To check that the license works, sign a test document and make sure that no evaluation line appears on its pages.

Set License from a Stream

SetLicense also accepts a readable stream, such as an open file or a MemoryStream holding the license bytes:

using System.IO;
using GroupDocs.Signature;

using (FileStream stream = File.OpenRead("GroupDocs.Signature.lic"))
{
    License license = new License();
    license.SetLicense(stream);
}

Set Metered License

A Metered License is an alternative to a license file. It is a usage-based licensing model that may suit customers who prefer to be billed for actual API usage. For more information, refer to the Metered Licensing FAQ.

To use it:

  1. Create an instance of the Metered class.
  2. Pass your public and private keys to the SetMeteredKey method.
  3. Process your documents.
  4. Call Metered.GetConsumptionQuantity() to get the amount of data processed so far, in megabytes.
  5. Call Metered.GetConsumptionCredit() to get the number of credits consumed so far.
using System;
using GroupDocs.Signature;

string publicKey = "*****";  // Your public key
string privateKey = "*****"; // Your private key

// Activate metered (pay-as-you-go) billing for this process
Metered metered = new Metered();
metered.SetMeteredKey(publicKey, privateKey);

// ... process your documents here ...

Console.WriteLine("MB processed: " + Metered.GetConsumptionQuantity());
Console.WriteLine("Credits used: " + Metered.GetConsumptionCredit());