1. GroupDocs.Metadata
  2. /
  3. GroupDocs.Metadata for .NET
  4. /
  5. GroupDocs.Metadata
  6. /
  7. License
  8. /
  9. SetLicense

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