Metered

Metered class

Provides methods that allow activating the product with a metered license and retrieving the amount of MBs processed. Learn more about Metered licenses here.

public class Metered

Constructors

Name Description
Metered() Initializes a new instance of the Metered class.

Methods

Name Description
SetMeteredKey(string, string) Sets the metered public and private keys.
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