GetConsumptionQuantity

Metered.GetConsumptionQuantity method

Récupère le nombre de Mo traités.

public static decimal GetConsumptionQuantity()

Exemples

L’exemple suivant montre comment récupérer le nombre de Mo traités.

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

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

decimal mbProcessed = Metered.GetConsumptionQuantity();

Voir également