GetCurrentRegistrationDate

Top  Previous  Next

This function retrieves a date and time when the software has been registered on the current computer.

 

public static DateTime IntelliProtector.GetCurrentRegistrationDate();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns DateTime.MinValue if the software is not registered.

 Returns date and time of the software registration on the current computer.

 

Requirements

 

 file: IntelliProtector.cs

 namespace: IntelliProtectorService;

 

Example

 

public void ShowRegistrationDate()

{

 DateTime currentRegistrationDate = IntelliProtector.GetCurrentRegistrationDate();

 if (currentRegistrationDate == DateTime.MinValue)

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

 else

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

}





Copyright © 2011 intelliprotector.com