Metered

Metered class

Provides methods to set metered key.

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

[C#]
 
Metered metered = new Metered();
metered.SetMeteredKey("PublicKey", "PrivateKey");
 
 
[Visual Basic]
 
Dim metered As Metered = New Metered
metered.SetMeteredKey("PublicKey", "PrivateKey")

the component jar file:

Metered metered = new Metered();
metered.setMeteredKey("PublicKey", "PrivateKey");

Methods

NameDescription
GetConsumptionCreditGets consumption credit.
GetConsumptionQuantityGets consumption file size.
IsLicensedChecks whether the product is successfully licensed using Metered license.
ResetMeteredKeyRemoves previously setup license.
SetMeteredKeySets metered public and private keys.