|
iText Licensing Library 4.2.2 API
|
An entry point for license files management. More...
Static Public Member Functions |
|
| static void | Initialize () |
| static void | UnloadLicenses () |
| Unload all licenses for all products. More... |
|
| static void | UnloadLicenseForProduct (String productName) |
| Unloads license for specific product. More... |
|
| static void | LoadLicenseFile (FileInfo licenseFile) |
| Loads a license file or array of licenses from a System.IO.FileInfo. More... |
|
| static void | LoadLicenseFile (Stream licenseIs) |
| Loads a license file or array of licenses using an System.IO.Stream. More... |
|
| static IList< LicenseInfo > | GetLoadedLicensesInfo () |
| Gets info about loaded licenses. More... |
|
| static LicenseInfo | GetLoadedLicenseInfo (String productName, bool checkingForUpdates) |
| Gets info about loaded license for provided product name. More... |
|
| static LicenseInfo | GetLoadedLicenseInfo (String productName) |
| Gets info about loaded license for provided product name, trying to update the license. More... |
|
An entry point for license files management.
|
inlinestatic |
Gets info about loaded license for provided product name, trying to update the license.
| productName | the product name |
null if there is no license
|
inlinestatic |
Gets info about loaded license for provided product name.
| productName | the product name |
| checkingForUpdates | flag that specifies if updates need to be checked |
null if there is no license
|
inlinestatic |
Gets info about loaded licenses.
|
inlinestatic |
Loads a license file or array of licenses from a System.IO.FileInfo.
Loads a license file or array of licenses from a System.IO.FileInfo. It is expected that file contains license as json object or json array of such licenses. The certificate is read from the jar.
Note that method does not perform any additional checks and does not consider license files loading as a transaction. If any error occurs, on loading array of licenses method execution will be stopped but already loaded licenses will not be unloaded.
| licenseFile | the file to load license |
|
inlinestatic |
Loads a license file or array of licenses using an System.IO.Stream.
Loads a license file or array of licenses using an System.IO.Stream. It is expected that input stream contains license as json object or json array of such licenses. The certificate is read from the jar.
Note that method does not perform any additional checks and does not consider license files loading as a transaction. If any error occurs, on loading array of licenses method execution will be stopped but already loaded licenses will not be unloaded.
| licenseIs | the input stream for load license |
|
inlinestatic |
Unloads license for specific product.
| productName | the name of the product for which license will be unloaded |
|
inlinestatic |
Unload all licenses for all products.