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
- class Metered
- namespace GroupDocs.Parser
- assembly GroupDocs.Parser