GetConsumptionQuantity

Metered.GetConsumptionQuantity method

Ανακτά την ποσότητα των MB που υποβλήθηκαν σε επεξεργασία.

public static decimal GetConsumptionQuantity()

Επιστρεφόμενη Αξία

ποσότητα κατανάλωσης

Παραδείγματα

Το ακόλουθο παράδειγμα δείχνει πώς να ανακτήσετε την ποσότητα των MB που υποβλήθηκαν σε επεξεργασία.

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

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

decimal mbProcessed = Metered.GetConsumptionQuantity();

Δείτε επίσης