SetMeteredKey
Metered.SetMeteredKey method
يقوم بتنشيط المنتج باستخدام المفاتيح التي تم قياسها.
public void SetMeteredKey(string publicKey, string privateKey)
| معامل | يكتب | وصف |
|---|---|---|
| publicKey | String | المفتاح العمومي. |
| privateKey | String | المفتاح الخاص. |
أمثلة
المثال التالي يوضح كيفية تنشيط المنتج بمفاتيح مقيدة .
string publicKey = "Public Key";
string privateKey = "Private Key";
Metered metered = new Metered();
metered.SetMeteredKey(publicKey, privateKey);
أنظر أيضا
- class Metered
- مساحة الاسم GroupDocs.Editor
- المجسم GroupDocs.Editor