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

Namespace: GroupDocs.Redaction
Assembly: GroupDocs.Redaction (in GroupDocs.Redaction.dll) Version: 19.12
Syntax
public class License

The License type exposes the following members.

Constructors
  NameDescription
Public methodLicense
Initialize an instance of License class.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetLicense(Stream)
Sets the GroupDocs.Redaction license from a stream.
Public methodSetLicense(String)
Sets the GroupDocs.Redaction license from a file path.
Public methodToString (Inherited from Object.)
Examples
The following example demonstrates how to set the license for GroupDocs.Redaction.
C#
GroupDocs.Redaction.License license = new GroupDocs.Redaction.License();
// as an alternative you can use a stream:
license.SetLicense(licensePath);
See Also