License Class
Represents GroupDocs.Metadata license. License class should be applied once per AppDomain.
Inheritance Hierarchy
SystemObject
  GroupDocs.MetadataLicense

Namespace: GroupDocs.Metadata
Assembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 20.10
Syntax
public sealed class License

The License type exposes the following members.

Constructors
  NameDescription
Public methodLicense
Initializes a new instance of the License class.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodSetLicense(Stream)
Licenses the component.
Public methodCode exampleSetLicense(String)
Licenses the component.
Public methodToString (Inherited from Object.)
Examples
This example demonstrates how to setup a license.
C#
// initialize License class
License license = new License();

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