Aspose.Note for .Net
License Class |
Provides methods to license the component.

Namespace: Aspose.Note
Assembly: Aspose.Note (in Aspose.Note.dll) Version: 18.1

The License type exposes the following members.


Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | SetLicense(Stream) |
Licenses the component.
|
![]() ![]() | SetLicense(String) |
Licenses the component.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |

In this example, an attempt will be made to find a license file named MyLicense.lic
in the folder that contains
the component, in the folder that contains the calling assembly,
in the folder of the entry assembly and then in the embedded resources of the calling assembly.
the component jar file:
[C#] License license = new License(); license.SetLicense("MyLicense.lic"); [Visual Basic] Dim license As license = New license License.SetLicense("MyLicense.lic")
License license = new License(); license.setLicense("MyLicense.lic");
