License

License class

Provides methods for applying license.

public class License

Constructors

Name Description
License() Initialize an instance of License class.

Methods

Name Description
SetLicense(Stream) Sets the GroupDocs.Redaction license from a stream.
SetLicense(string) Sets the GroupDocs.Redaction license from a file path.

Remarks

Learn more

Examples

The following example demonstrates how to set the license for GroupDocs.Redaction.

GroupDocs.Redaction.License license = new GroupDocs.Redaction.License();
// as an alternative you can use a stream:
license.SetLicense(licensePath);

See Also