GetLicenseExpirationDaysLeftCount

Top  Previous  Next

This function returns how many days are left till the license code expiration.

 

public static int IntelliProtector.GetLicenseExpirationDaysLeftCount();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns quantity of days which are left till the license code is expired.

 

Requirements

 

 file: IntelliProtector.cs

 namespace: IntelliProtectorService;

 

Example

 

public void ShowRetailDaysLeft()

{

 int retailDaysLeftQty = IntelliProtector.GetLicenseExpirationDaysLeftCount();

 String retailDaysLeftQtyMessage = String.Format("License expiration days left: {0}",  retailDaysLeftQty);

 MessageBox.Show(retailDaysLeftQtyMessage);

}





Copyright © 2011 intelliprotector.com