Metered Class
Provides methods to set metered key.
Inheritance Hierarchy

Namespace: GroupDocs.Signature
Assembly: GroupDocs.Signature (in GroupDocs.Signature.dll) Version: (19.6)
public sealed 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.)
Public methodStatic memberGetConsumptionCredit
Gets credit quantity
Public methodStatic memberGetConsumptionQuantity
Gets consumption quantity
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.)
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