Metered Licensing

Aspose.Slides for .NET supports metered licensing, a flexible model that enables you to pay only for the API operations you perform. It is ideal for scalable cloud applications and usage‑based billing workflows.

Benefits of Metered Licensing

  • Pay only for what you use — no upfront investment required
  • Scalable — consumption grows with your application load
  • Transparent usage tracking — monitor API call counts at runtime
  • Great for SaaS and automation — cost aligns with customer usage

Learn more: https://purchase.aspose.com/faqs/licensing/metered

To purchase keys: https://purchase.aspose.net/


Evaluation Version Limitations

Without a license applied, Aspose.Slides operates in trial mode with these limits:

  • Evaluation watermark on generated documents and images
  • Maximum number of slides that can be processed in a session
  • Some advanced conversions are restricted

Applying a license removes all evaluation limitations.


How to Implement Metered Licensing in .NET

Follow these steps to integrate metered keys into your project:

  1. Instantiate the Metered class
  2. Set your public and private metered keys
  3. Process your presentations
  4. Optionally, read API usage consumption

Example (C#)

using Aspose.Slides;

// Create Metered instance
Metered metered = new Metered();

// Set metered public and private keys
metered.SetMeteredKey("<your public key>", "<your private key>");

// Execute API operations
using Presentation pres = new Presentation("input.pptx");
pres.Save("output.pdf", SaveFormat.Pdf);

// Check consumption
decimal consumed = Metered.GetConsumptionQuantity();
Console.WriteLine($"API requests consumed: {consumed}");

For more examples, see the Developer Guide.


Comparing Licensing Models

FeatureMetered LicensingTraditional License
Cost ModelPay‑as‑you‑goOne‑time or subscription
Usage TrackingBuilt‑in metricsNo
FlexibilityVery highFixed
Best ForCloud/SaaS workloadsDesktop or stable load apps

Security Guidelines

Protect your metered keys:

  • Do not expose keys in client‑side or public code
  • Use secure environment or configuration storage
  • Use separate keys for dev and production
  • Monitor usage for suspicious activity

Summary

Metered licensing brings flexible cost management to Aspose.Slides for .NET, making it ideal for dynamic workloads such as automated slide processing, cloud file viewers, and high‑scaling document services.