1. GroupDocs.Parser
  2. /
  3. GroupDocs.Parser for .NET
  4. /
  5. GroupDocs.Parser
  6. /
  7. Metered
  8. /
  9. SetMeteredKey

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