MeteredLicense

MeteredLicense class

Provides methods to set metered key.

public class MeteredLicense

Constructors

Name Description
MeteredLicense() Initializes a new instance of this class.

Methods

Name Description
SetMeteredKey(string, string) Sets metered public and private key.
static GetConsumptionCredit() Gets consumption credit.

Remarks

Important: with metered license you cannot compose self-extracting zip archives.

Examples

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

MeteredLicense matered = new MeteredLicense();
matered.SetMeteredKey("PublicKey", "PrivateKey");

See Also