
## Metered class

Provides methods to set metered key.

The Metered type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|Metered()|Initializes a new instance of the Metered class|
## Methods
| Name | Description |
| :- | :- |
|set_metered_key(public_key, private_key)|Sets metered public and private keys.|
|reset_metered_key()|Removes previously setup license.|
|get_consumption_credit()|Gets consumption credit.|
|get_consumption_quantity()|Gets consumption file size.|
|is_licensed()|Checks whether the product is successfully licensed using Metered license.|

### See Also

* namespace [aspose.tasks](/tasks/python-net/aspose.tasks/)
* assembly [Aspose.Tasks](/tasks/python-net/)

