GetConsumptionCredit

Metered.GetConsumptionCredit method

Recupera la cantidad de créditos utilizados

public static decimal GetConsumptionCredit()

Ejemplos

El siguiente ejemplo muestra cómo recuperar la cantidad de MB procesados.

string publicKey = "Public Key";
string privateKey = "Private Key";

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

decimal usedCredits = Metered.GetConsumptionCredit();

Ver también