GetConsumptionCredit

Metered.GetConsumptionCredit method

उपभोग किए गए क्रेडिट की संख्या पुनर्प्राप्त करता है।

public static long GetConsumptionCredit()

प्रतिलाभ की मात्रा

उपभोग किए गए क्रेडिट की संख्या।

उदाहरण

निम्नलिखित उदाहरण प्रदर्शित करता है कि उपभोग किए गए क्रेडिट की संख्या कैसे प्राप्त करें।

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

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

decimal creditsConsumed = Metered.GetConsumptionCredit();

यह सभी देखें