GetProtectionDate

Top  Previous  Next

This function returns the date, when the software has been protected.

 

Public Shared Function GetProtectionDate() As DateTime

 

Parameters

 

 No parameters.

 

Return value

 

 Returns date and tie when software was protected.

 

Requirements

 

 file: IntelliProtector.vb

 

Example

 

Public Sub ShowProtectionDate()

    Dim protectionDate As System.Nullable(Of DateTime) = IntelliProtectorService.IntelliProtector.GetProtectionDate()

    If protectionDate = DateTime.MinValue Then

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

    Else

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

    End If

End Sub

 





Copyright © 2011 intelliprotector.com