SetMeteredKey
Metered.SetMeteredKey method
Activates 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
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
- class Metered
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer