GetConsumptionQuantity
Metered.GetConsumptionQuantity method
Retrieves amount of MBs processed.
public static decimal GetConsumptionQuantity()
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.Viewer
- assembly GroupDocs.Viewer