1. GroupDocs.Parser
  2. /
  3. GroupDocs.Parser for .NET
  4. /
  5. GroupDocs.Parser
  6. /
  7. Metered
  8. /
  9. GetConsumptionQuantity

GetConsumptionQuantity

Metered.GetConsumptionQuantity method

Retrieves amount of MBs processed.

public static decimal GetConsumptionQuantity()

Return Value

A decimal value that represents the consumption quantity.

Examples

Following example demonstrates how to retrieve amount of MBs processed.

string publicKey = "Public Key";
string privateKey = "Private Key";

Metered metered = new Metered();
metered.SetMeteredKey(publicKey, privateKey);

decimal mbProcessed = Metered.GetConsumptionQuantity();

See Also