License class

License class

Provides methods to license the component. To learn more, visit the Licensing and Subscription documentation article.


Name Description
License() Initializes a new instance of this class.


Name Description
set_license(license_name) Licenses the component.
set_license(stream) Licenses the component.


Shows how initialize a license for Aspose.Words using a license file in the local file system.

# Set the license for our Aspose.Words product by passing the local file system filename of a valid license file.
license = aw.License()

See Also