GetConsumptionCredit

Metered.GetConsumptionCredit method

Получает количество использованных кредитов

public static decimal GetConsumptionCredit()

Примеры

В следующем примере показано, как получить количество обработанных МБ.

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

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

decimal usedCredits = Metered.GetConsumptionCredit();

Смотрите также