Metered
Contents
[
Hide
]
Metered class
Provides methods to license the component with Metered license.
public class Metered
Constructors
Name | Description |
---|---|
Metered() | Initializes a new instance of the Metered class. |
Methods
Name | Description |
---|---|
SetMeteredKey(string, string) | Activates product with Metered keys. |
static GetConsumptionCredit() | Retrieves count of credits consumed. |
static GetConsumptionQuantity() | Retrieves amount of MBs processed. |
Remarks
Learn more
- More about Metered licensing: Metered Licensing FAQ
- More about GroupDocs.Watermark licensing: Evaluation Limitations and Licensing
Examples
Following example demonstrates how to activate product with Metered keys.
string publicKey = "Public Key";
string privateKey = "Private Key";
Metered metered = new Metered();
metered.SetMeteredKey(publicKey, privateKey);
See Also
- namespace GroupDocs.Watermark
- assembly GroupDocs.Watermark