Metered
Metered class
Provides methods which allow to activate product with Metered license and retrieve amount of MBs processed. Learn more about Metered licenses here.
public class Metered
Constructors
| Name | Description |
|---|---|
| Metered() | Initializes a new instance of Metered class. |
Methods
| Name | Description |
|---|---|
| SetMeteredKey(string, string) | Sets metered public and private key. |
| static GetConsumptionCredit() | Gets the consumption credit. |
| static GetConsumptionQuantity() | Gets the consumption quantity. |
Remarks
Learn more
Examples
The example demonstrates how to set metered public and private keys.
Metered metered = new Metered();
metered.SetMeteredKey("PublicKey", "PrivateKey");
See Also
- namespace GroupDocs.Search
- assembly GroupDocs.Search