GetLicenseExpirationDaysCount

Top  Previous  Next

This function obtains total days of the 'retail' period. The registered software can be operable only during this period. After the period is elapsed the software will stop working.

 

public static int IntelliProtector.GetLicenseExpirationDaysCount();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns quantity of days which are available for the retail period.

 

Requirements

 

 file: IntelliProtector.cs

 namespace: IntelliProtectorService;

 

Example

 

public void ShowRetailDays()

{

 int retailDaysQty = IntelliProtector.GetLicenseExpirationDaysCount();

 String retailDaysQtyMessage = String.Format("License expiration days count: {0}",  retailDaysQty);

 MessageBox.Show(retailDaysQtyMessage);

}





Copyright © 2011 intelliprotector.com