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();

Δείτε επίσης