SetMeteredKey

MeteredLicense.SetMeteredKey method

Sets metered public and private keys.

public void SetMeteredKey(string publicKey, string privateKey)
ParameterTypeDescription
publicKeyStringThe public key.
privateKeyStringThe private key.

Remarks

If you purchase metered license, this API should be called on application startup, normally, this is enough. However, if metered fails to upload consumption data during 24 hours period, the license will be set to evaluation status. To avoid such case, you should regularly check the license status If it is evaluation status, call this API again.

See Also