Metered Class
Provides methods to set metered key.
Inheritance Hierarchy

Namespace: GroupDocs.Classification
Assembly: GroupDocs.Classification (in GroupDocs.Classification.dll) Version: 20.11.0
public class Metered

The Metered type exposes the following members.

Public methodMetered
Initializes a new instance of this class.
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 memberGetConsumptionQuantity
Gets consumption file size
Public methodGetHashCode
Serves as the default hash function.
(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 methodSetMeteredKey
Sets metered public and private key
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
In this example, an attempt will be made to set metered public and private key

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