GetConsumptionCredit

Metered.GetConsumptionCredit method

Mengambil jumlah kredit yang digunakan

public static decimal GetConsumptionCredit()

Contoh

Contoh berikut menunjukkan cara mengambil jumlah MB yang diproses.

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

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

decimal usedCredits = Metered.GetConsumptionCredit();

Lihat juga