SetMeteredKey

Metered.SetMeteredKey method

Activates product with Metered keys.

public void SetMeteredKey(string publicKey, string privateKey)
Parameter Type Description
publicKey String A public key.
privateKey String A private key

Examples

Following example demonstrates how to activate product with Metered keys.

string publicKey = "Public Key";
string privateKey = "Private Key";

Metered metered = new Metered();
metered.SetMeteredKey(publicKey, privateKey);

See Also