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: 19.5
Syntax
public class Metered

The Metered type exposes the following members.

Constructors
  NameDescription
Public methodMetered
Creates new instance.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetConsumptionCredit
Gets consumption credit
Public methodStatic memberCode exampleGetConsumptionQuantity
Retrieves amount of MBs processed.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleSetMeteredKey
Activates product with Metered keys.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Examples
In this example, an attempt will be made to set metered public and private key
[C#]

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


[Visual Basic]

Dim matered As Metered = New Metered
matered.SetMeteredKey("PublicKey", "PrivateKey")
See Also