GetConsumptionQuantity

Metered.GetConsumptionQuantity method

يسترجع كمية الميغابايت التي تمت معالجتها .

public static decimal GetConsumptionQuantity()

قيمة الإرجاع

كمية الاستهلاك

أمثلة

يوضح المثال التالي كيفية استرداد كمية الميغابايت التي تمت معالجتها.

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

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

decimal mbProcessed = Metered.GetConsumptionQuantity();

أنظر أيضا