|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAuthorizeLicense
Provides access to members that authorize ESRI licenses.
The IAoAuthorizeLicense interface is the starting point for developers who want to silently 'authorize' the ArcGIS Engine Runtime components on client systems.
| Method Summary | |
|---|---|
void |
addLicense(String featureName,
int versionNumber,
String timeoutDate,
String registrationNumber,
String authorizationCode)
Add a new feature to the authorization file. |
void |
addLicenseFromFile(String fileName)
Add new feature authorizations from file. |
String |
getFeaturesAdded()
Retrieves the details of the new features added to the authorization file. |
String |
getLastError()
Retrieves the last error message from an attempt to add new features to the authorization file. |
| Method Detail |
|---|
String getLastError()
throws IOException,
AutomationException
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.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getFeaturesAdded()
throws IOException,
AutomationException
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.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addLicense(String featureName,
int versionNumber,
String timeoutDate,
String registrationNumber,
String authorizationCode)
throws IOException,
AutomationException
The AddLicense method takes the specified license information and adds it to the keycodes file.
Use the LastError property to returns information about why the AddLicense method failed to add the specified license to the keycodes file.
featureName - The featureName (in)versionNumber - The versionNumber (in)timeoutDate - The timeoutDate (in)registrationNumber - The registrationNumber (in)authorizationCode - The authorizationCode (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addLicenseFromFile(String fileName)
throws IOException,
AutomationException
The AddLicenseFromFile method reads the authorization information in the supplied esri copy protected license file (*.ecp) and adds it to the keycodes file.
fileName - The fileName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||