IAuthorizeLicense Interface

Provides access to members that authorize Esri licenses.

Description

The IAoAuthorizeLicense interface is the starting point for developers who want to silently 'authorize' the ArcGIS Engine Runtime components on client systems.

Members

Name Description
Method AuthorizeASR Authorize new feature(s).
Method AuthorizeASRFromFile Authorize new feature(s) from file.
Method CheckASR Check feature(s).
Method CheckASRFromFile Check feature(s) from file.
Method DeauthorizeASR Deauthorize feature(s).
Method DeauthorizeASRFromFile Deauthorize feature(s) from file.
Read-only property FeaturesAdded Retrieves the details of the new authorized features.
Read-only property LastError Retrieves the last error message and code from an attempt to process features.
Method RepairASR Repair feature(s).
Method RepairASRFromFile Repair feature(s) from file.

IAuthorizeLicense.AuthorizeASR Method

Authorize new feature(s).

Public Sub AuthorizeASR ( _
    ByVal strAsr As String, _
    ByVal Password As String _
)
public void AuthorizeASR (
    string strAsr,
    string Password
);

IAuthorizeLicense.AuthorizeASRFromFile Method

Authorize new feature(s) from file.

Public Sub AuthorizeASRFromFile ( _
    ByVal FileName As String, _
    ByVal Password As String _
)
public void AuthorizeASRFromFile (
    string FileName,
    string Password
);

IAuthorizeLicense.CheckASR Method

Check feature(s).

Public Sub CheckASR ( _
    ByVal strAsr As String, _
    ByVal Password As String _
)
public void CheckASR (
    string strAsr,
    string Password
);

IAuthorizeLicense.CheckASRFromFile Method

Check feature(s) from file.

Public Sub CheckASRFromFile ( _
    ByVal FileName As String, _
    ByVal Password As String _
)
public void CheckASRFromFile (
    string FileName,
    string Password
);

IAuthorizeLicense.DeauthorizeASR Method

Deauthorize feature(s).

Public Sub DeauthorizeASR ( _
    ByVal strAsr As String, _
    ByVal Password As String _
)
public void DeauthorizeASR (
    string strAsr,
    string Password
);

IAuthorizeLicense.DeauthorizeASRFromFile Method

Deauthorize feature(s) from file.

Public Sub DeauthorizeASRFromFile ( _
    ByVal FileName As String, _
    ByVal Password As String _
)
public void DeauthorizeASRFromFile (
    string FileName,
    string Password
);

IAuthorizeLicense.FeaturesAdded Property

Retrieves the details of the new authorized features.

Public ReadOnly Property FeaturesAdded As String
public string FeaturesAdded {get;}

Description

Use the FeaturesAdded property after the AddLicenseFromFile and AddLicense methods to return a list of the license features that were successfully added to the keycodes file.

IAuthorizeLicense.LastError Property

Retrieves the last error message and code from an attempt to process features.

Public Function get_LastError ( _
    ByRef LastError As String _
) As Integer
public int get_LastError (
    ref string LastError
);

Description

The LastError property returns information about why the AddLicense method failed to add the specified license to the keycodes file. Use the LastError property after the AddLicense method to retrieve information on the nature of any error.

IAuthorizeLicense.RepairASR Method

Repair feature(s).

Public Sub RepairASR ( _
    ByVal strAsr As String, _
    ByVal Password As String _
)
public void RepairASR (
    string strAsr,
    string Password
);

IAuthorizeLicense.RepairASRFromFile Method

Repair feature(s) from file.

Public Sub RepairASRFromFile ( _
    ByVal FileName As String, _
    ByVal Password As String _
)
public void RepairASRFromFile (
    string FileName,
    string Password
);

Classes that implement IAuthorizeLicense

Classes Description
AoAuthorizeLicense Class performs license authorization.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.