文檔首頁(yè)>>VMPsoft中文文檔>>許可證
許可證
一個(gè)用于處理許可證列表的類:
class Licenses { public: int keyLength(); // returns the length of the key string publicExp(); // returns the public exponent string privateExp(); // returns the private exponent string modulus(); // returns modulus License item(int index); // returns a license with the given index int count(); // returns the number of licenses in the list }
一個(gè)帶著許可證工作的類:
class License { public: string date(string format = "%c"); // returns the date of the license string customerName(); // returns the name of the license owner string customerEmail(); // returns an e-mail of the license owner string orderRef(); // returns the order id the license was purchased string comments(); // returns comments to the license string serialNumber(); // returns the serial number of the license bool blocked(); // returns the "Blocked" property void setBlocked(bool value); // sets the "Blocked" property }