Metered Class
Provides methods to set metered key.
Inheritance Hierarchy
SystemObject
  Aspose.PdfMetered

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public class Metered

The Metered type exposes the following members.

Constructors
  NameDescription
Public methodMetered
Initializes a new instance of the Metered class
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberGetConsumptionCredit
Gets consumption credit
Public methodStatic memberGetConsumptionQuantity
Gets consumption file size
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetMeteredKey
Sets metered public and private key
Public methodToString (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