License Class
Provides methods to license the component.
Inheritance Hierarchy
SystemObject
  Aspose.OMRLicense

Namespace: Aspose.OMR
Assembly: Aspose.OMR (in Aspose.OMR.dll) Version: 19.9.0.0 (19.9.0.0)
Syntax
public class License

The License type exposes the following members.

Constructors
  NameDescription
Public methodLicense
Initializes a new instance of the License class
Properties
  NameDescription
Public propertyEmbedded
License number was added as embedded resource.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodCode exampleSetLicense(Stream)
Licenses the component.
Public methodCode exampleSetLicense(String)
Licenses the component.
Public methodToString (Inherited from Object.)
Examples
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.
[C#]

License license = new License();
license.SetLicense("MyLicense.lic");
See Also