GetConsumptionQuantity

Metered.GetConsumptionQuantity method

Haalt het aantal verwerkte MB’s op.

public static decimal GetConsumptionQuantity()

Winstwaarde

Het aantal verwerkte MB’s.

Voorbeelden

Het volgende voorbeeld laat zien hoe het aantal verwerkte MB’s kan worden opgehaald.

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

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

decimal mbProcessed = Metered.GetConsumptionQuantity();

Zie ook