GetFirstRegistrationDate

Top  Previous  Next

This function retrieves a date when the software has been registered in first time by the current license code.

 

public static DateTime IntelliProtector.GetFirstRegistrationDate();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns DateTime.MinValue if the software is not registered.

 Returns date and time of the software first registration with the current license code.

 

Requirements

 

 file: IntelliProtector.cs

 namespace: IntelliProtectorService;

 

Example

 

void ShowFirstRegistrationDate()

{

 DateTime firstRegistrationDate = IntelliProtector.GetFirstRegistrationDate();

 if (firstRegistrationDate == DateTime.MinValue)

         MessageBox.Show("Software is not registered");

 else

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

}





Copyright © 2011 intelliprotector.com