GetConsumptionCredit
Metered.GetConsumptionCredit method
Retrieves count of credits consumed.
public static long GetConsumptionCredit()
Return Value
The count of credits consumed.
Examples
Following example demonstrates how to retrieve count of credits consumed.
string publicKey = "Public Key";
string privateKey = "Private Key";
Metered metered = new Metered();
metered.SetMeteredKey(publicKey, privateKey);
decimal creditsConsumed = Metered.GetConsumptionCredit();
See Also
- class Metered
- namespace GroupDocs.Watermark
- assembly GroupDocs.Watermark