Description

This method will check for existing web license.

Definition (VB.NET)

<WebMethod()> _
Public Function GetWebLicense(ByVal ProgramID As Integer, ByVal SerialNumber As String, ByVal SiteCode As String, ByVal MID As String) As Result

Security

No authorization is required for this method.

Parameters

Name Type Description
ProgramID Integer Program ID value
SerialNumber String Serial number
SiteCode String Site code value
MID String Machine ID (MID) value

Return values

In case of success:

- Result.Status is set to STATUS_SUCCESS

- Result.ActivationCode is set to valid activation code.

- Result.WebLicenseID is set to web license ID.

In case of error appropriate error status code is returned  (STATUS_LICENSE_MISSING).

Notes

Use this method to check for existing web license after activation.

If application is activated on local computer and this method is reporting error (STATUS_LICENSE_MISSING) application should consider removing license from local computer since license is no longer available in ACEN (removed manually by ACEN admin).