Metered Class
Provides methods which allow to activate product with Metered license and retrieve amount of MBs processed. Learn more about Metered licenses here.
Inheritance Hierarchy
SystemObject
  GroupDocs.RedactionMetered

Namespace: GroupDocs.Redaction
Assembly: GroupDocs.Redaction (in GroupDocs.Redaction.dll) Version: 20.7
Syntax
public class Metered

The Metered type exposes the following members.

Constructors
  NameDescription
Public methodMetered
Initializes a new instance of Metered class.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberGetConsumptionCredit
Gets the consumption credit.
Public methodStatic memberCode exampleGetConsumptionQuantity
Retrieves the amount of MBs processed.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodCode exampleSetMeteredKey
Activates the product with Metered keys.
Public methodToString (Inherited from Object.)
Remarks
Learn more
Examples
The following example demonstrates how to activate the product with Metered keys.
[C#]

Metered matered = new Metered();
matered.SetMeteredKey("PublicKey", "PrivateKey");


[Visual Basic]

Dim matered As Metered = New Metered
matered.SetMeteredKey("PublicKey", "PrivateKey")
the component jar file:
Metered matered = new Metered();
matered.setMeteredKey("PublicKey", "PrivateKey");
See Also