An entry point for license files management.
| static void iText.Licensing.Base.LicenseKey.LoadLicenseFile |
( |
FileInfo |
licenseFile |
) |
|
|
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.
-
Parameters
-
| licenseFile |
the file to load license |
| static void iText.Licensing.Base.LicenseKey.LoadLicenseFile |
( |
Stream |
licenseIs |
) |
|
|
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.
-
Parameters
-
| licenseIs |
the input stream for load license |