public class License
extends java.lang.Object
| Constructor and Description |
|---|
License()
Initializes a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setLicense(java.io.InputStream stream)
Licenses the component.
|
void |
setLicense(java.lang.String licenseName)
Licenses the component.
|
public void setLicense(java.lang.String licenseName)
Remarks
Tries to find the license in the following locations:
1. Explicit path.
2. The folder that contains the Aspose component assembly.
3. The folder that contains the client's calling assembly.
4. The folder that contains the entry (startup) assembly.
5. An embedded resource in the client's calling assembly.
Note:On the .NET Compact Framework, tries to find the license only in these locations:
1. Explicit path.
2. An embedded resource in the client's calling assembly.
2. The current working directory of the java application.
3. The folder that contains the Aspose component JAR file.
4. The folder that contains the client's calling JAR file.
public void setLicense(java.io.InputStream stream)
Remarks
Use this method to load a license from a stream.
Example
stream - A stream that contains the license.See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.