MeteredSetMeteredKey Method |
Activates product with Metered keys.
Namespace: GroupDocs.ViewerAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic void SetMeteredKey(
string publicKey,
string privateKey
)
Public Sub SetMeteredKey (
publicKey As String,
privateKey As String
)
public:
void SetMeteredKey(
String^ publicKey,
String^ privateKey
)
member SetMeteredKey :
publicKey : string *
privateKey : string -> unit
Parameters
- publicKey
- Type: SystemString
The public key. - privateKey
- Type: SystemString
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