MeteredSetMeteredKey Method
Activates product with Metered keys.

Namespace: GroupDocs.Viewer
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.6
Syntax
public void SetMeteredKey(
	string publicKey,
	string privateKey
)

Parameters

publicKey
Type: SystemString
The public key.
privateKey
Type: SystemString
The private key.
Examples
Following example demonstrates how to activate product with Metered keys.
C#
string publicKey = "Public Key";
string privateKey = "Private Key";

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