License

License class

Represents GroupDocs.Metadata license. License class should be applied once per AppDomain.

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.

Examples

This example demonstrates how to setup a license.

// initialize License class
License license = new License();

// set path to .lic file
license.SetLicense(@"C:\\GroupDocs.Metadata.lic");

See Also