License Class
Represents GroupDocs.Search license.
Inheritance Hierarchy
SystemObject
  GroupDocs.SearchLicense

Namespace: GroupDocs.Search
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 18.6
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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodSetLicense(Stream)
Licenses the component.
Public methodSetLicense(String)
Licenses the component.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Examples
This example demonstrates how to setup license.
C#
// initialize License class
License license = new License();

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