GetLicenseType
This function returns type of license code.
By default, project has only one license type (Full version, TypeID = 1).
If you need more than one type of license you should add them manually in the control panel.

Syntax
Public Shared Function GetLicenseType() As Integer

Parameters
No parameters.

Return value
Returns type of license code.
Returns -1 if license code is not available (software is not purchased, trial period).

Requirements
File: ItpLibraryNetWrapper.vb
Namespace: ItpLibraryNetClient;

Example
Private Sub InitItpControls()
    lLicenseType.Text = ItpLibraryNetWrapper.GetLicenseType().ToString(CultureInfo.InvariantCulture)
End Sub
Copyright 2006 - 2024 by IntelliProtector - Software Protection and Licensing Services