Metered
Contents
[
Hide
]
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) | Activates the product with Metered keys. |
static GetConsumptionCredit() | Gets the consumption credit. |
static GetConsumptionQuantity() | Retrieves the amount of MBs processed. |
Remarks
Learn more
- More about licensing: GroupDocs Licensing FAQ
- More about GroupDocs.Redaction licensing: Evaluation Limitations and Licensing
Examples
The following example demonstrates how to activate the product with Metered keys.
[C#]
Metered matered = new Metered();
matered.SetMeteredKey("PublicKey", "PrivateKey");
[Visual Basic]
Dim matered As Metered = New Metered
matered.SetMeteredKey("PublicKey", "PrivateKey")
the component jar file:
Metered matered = new Metered();
matered.setMeteredKey("PublicKey", "PrivateKey");
See Also
- namespace GroupDocs.Redaction
- assembly GroupDocs.Redaction