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.SearchMetered

Namespace: GroupDocs.Search
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 20.11
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 memberGetConsumptionQuantity
Gets the consumption quantity.
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.)
Remarks
Examples
The example demonstrates how to set metered public and private keys.
C#
Metered metered = new Metered();
metered.SetMeteredKey("PublicKey", "PrivateKey");
See Also