Class Metered

Metered class

Provides methods to set metered key.

public class Metered

Methods

NameDescription
static GetConsumptionCredit()Gets consumption credit
static GetConsumptionQuantity()Gets consumption file size
static ResetMeteredKey()Removes previously setup license
static SetMeteredKey(string, string)Sets metered public and private key

Examples

In this example, an attempt will be made to set metered public and private key

[C#]

Metered.SetMeteredKey("PublicKey", "PrivateKey");


[Visual Basic]

Metered.SetMeteredKey("PublicKey", "PrivateKey")

See Also