License Class
Provides methods for applying license.
Inheritance Hierarchy
SystemObject
  GroupDocs.SearchLicense

Namespace: GroupDocs.Search
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 19.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 methodSetLicense(String)
Licenses the component.
Public methodToString (Inherited from Object.)
Examples
The example demonstrates how to setup license.
C#
License license = new License();
license.SetLicense("C:\\GroupDocs.Search.lic");
See Also