MeteredGetConsumptionCredit Method
Retrieves count of credits consumed.

Namespace: GroupDocs.Viewer
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.11
Syntax
public static decimal GetConsumptionCredit()

Return Value

Type: Decimal
Examples
Following example demonstrates how to retrieve count of credits consumed.
C#
string publicKey = "Public Key";
string privateKey = "Private Key";

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

decimal creditsConsumed = Metered.GetConsumptionCredit();
See Also