Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// For complete examples and data files, please go to
/// <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
You can’t perform that action at this time.