Metered class
Leave feedback
On this page
Provides methods to work with metered licensing.
The Metered type exposes the following members:
| Constructor | Description |
|---|---|
| init | Creates a new instance of this class. |
| Method | Description |
|---|---|
| set_metered_key | Enables metered licensing for the component by specifying appropriate public and private metered keys. |
| get_consumption_quantity | Returns the currently consumed number of megabytes. |
| get_consumption_credit | Returns the currently consumed number of credits. |
In this example, an attempt to set metered public and private keys is made:
- module
groupdocs.assembly
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.