License Class

Provides methods to license the component.

Inheritance Hierarchy

SystemObject
  Aspose.WordsLicense

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.7.0

Syntax

public class License

The License type exposes the following members.

Constructors

  NameDescription
Public methodCode exampleLicense
Initializes a new instance of this class.

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodCode exampleSetLicense(Stream)
Licenses the component.
Public methodCode exampleSetLicense(String)
Licenses the component.
Public methodToString (Inherited from Object.)

Examples

Aspose.Words will attempt to find the license file in the embedded resources or in the assembly folders.
License license = new License();
license.SetLicense("Aspose.Words.NET.lic");

See Also