SetLicense

SetLicense(string)

Licenses the component.

public void SetLicense(string filePath)
Parameter Type Description
filePath String The absolute path to a license file.

Examples

This example demonstrates how to setup license.

// initialize License class
License license = new License();

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

See Also


SetLicense(Stream)

Licenses the component.

public void SetLicense(Stream stream)
Parameter Type Description
stream Stream License stream.

See Also