Last active
July 4, 2019 07:41
-
-
Save GroupDocsGists/2f9cad3b25a73caeabd92ca53735c8c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-.NET | |
/// <summary> | |
/// Number of already used credits | |
/// </summary> | |
public static decimal GetAlreadyUsedCredit() | |
{ | |
string PublicKey = ""; // Your public license key | |
string PrivateKey = ""; // Your private license key | |
Metered metered = new Metered(); | |
metered.SetMeteredKey(PublicKey, PrivateKey); | |
//Retrieves amount of already used credits | |
return Metered.GetConsumptionCredit(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment