Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Free resources used by the EvaluationMonitor
|
|
EvaluationMonitor ( string productID ) : System |
Initialize a new instance of the evaluation monitor. The UsageCount is incremented each time a new evaluation monitor is instantiated for a product |
|
Reset ( ) : void |
Allows you to reset the evaluation period. This may be useful if a customer needs an extension or if somehow they invalidate their evaluation data by attempting to fiddle |
Метод | Описание | |
---|---|---|
CreateBaseKey ( |
Create the base key for this product
|
|
Decrypt ( byte data ) : string |
Decrypt the given byte data to text
|
|
Encrypt ( string text ) : byte[] |
Encrypt the given text
|
|
Equals ( byte a1, byte a2 ) : bool |
Are the contents of the two byte arrays equal
|
|
FindBaseKey ( |
Find the base key for this product
|
|
GetDateData ( ) : void |
Calculate the number of days the product has been in use
|
|
GetUsageData ( ) : void |
Get the number of times the product has been used (and increment)
|
public EvaluationMonitor ( string productID ) : System | ||
productID | string | A string which uniquely identifies the product |
Результат | System |