GetOrderDate

Top  Previous  Next

This function returns the date when order has been created.

 

public static DateTime IntelliProtector.GetOrderDate();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns DateTime.MinValue if the software is not registered.

 Returns date and time when order has been created.

 

Requirements

 

 file: IntelliProtector.cs

 namespace: IntelliProtectorService;

 

Example

 

public void ShowOrderDate()

{

 DateTime orderDate = IntelliProtector.GetOrderDate();

 if (firstorderDate == DateTime.MinValue)

         System.Windows.Forms.MessageBox.Show("Software is not registered");

 else

         System.Windows.Forms.MessageBox.Show(orderDate.Value.ToString());

}





Copyright © 2011 intelliprotector.com