GetConsumptionQuantity

Metered.GetConsumptionQuantity method

Recupera la cantidad de MB procesados.

public static decimal GetConsumptionQuantity()

Ejemplos

El siguiente ejemplo muestra cómo recuperar la cantidad de MB procesados.

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

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

decimal mbProcessed = Metered.GetConsumptionQuantity();

Ver también