License
License class
Provides methods to license the component.
public sealed class License
Constructors
Name | Description |
---|---|
License() | Initializes a new instance of the License class. |
Methods
Name | Description |
---|---|
SetLicense(Stream) | Licenses the component. |
SetLicense(string) | Licenses the component. |
Remarks
- More about licensing: GroupDocs Licensing FAQ
- More about GroupDocs.Watermark licensing: Evaluation Limitations and Licensing
Examples
This example demonstrates how to setup license from the local file.
// Initialize License class.
License license = new License();
// Set path to .lic file.
license.SetLicense("C:\\GroupDocs.Watermark.lic");
See Also
- namespace GroupDocs.Watermark
- assembly GroupDocs.Watermark