GetOrderDate

Top  Previous  Next

This function returns the date when order has been created.

 

Public Shared Function GetOrderDate() As DateTime

 

Parameters

 

 No parameters.

 

Return value

 

 Returns Nothing if the software is not registered.

 Returns date and time when order has been created.

 

Requirements

 

 file: IntelliProtector.vb

 

Example

 

Public Sub ShowOrderDate()

    Dim orderDate As System.Nullable(Of DateTime) = IntelliProtectorService.IntelliProtector.GetOrderDate()

    If firstorderDate = DateTime.MinValue Then

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

    Else

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

    End If

End Sub

 





Copyright © 2011 intelliprotector.com