GetSupportExpirationDate

Top  Previous  Next

Returns date and time, when support will be expired.

 

public static DateTime IntelliProtector.GetSupportExpirationDate();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns null if the software is not registered or support expiration feature is not enabled.

 Returns date and time when support will be expired.

 

Requirements

 

 file: IntelliProtector.cs

 namespace: IntelliProtectorService;

 

Example

 

void ShowSupportExpirationDate()

{

 DateTime supportExpirationDate = IntelliProtector.GetSupportExpirationDate();

 if (supportExpirationDate == DateTime.MinValue)

         MessageBox.Show("Software is not regitered or support expiration feature is not enabled");

 else

         MessageBox.Show(supportExpirationDate.Value.ToString());

}





Copyright © 2011 intelliprotector.com