SetMeteredKey

Metered.SetMeteredKey method

Activates the product with Metered keys.

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

Examples

The following example demonstrates how to activate the product with Metered keys.

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

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

See Also