LicenseSetLicense Method (String) |
Licenses the component.
Namespace: GroupDocs.MetadataAssembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 21.8
Syntaxpublic void SetLicense(
string filePath
)
Public Sub SetLicense (
filePath As String
)
public:
void SetLicense(
String^ filePath
)
member SetLicense :
filePath : string -> unit
Parameters
- filePath
- Type: SystemString
The absolute path to a license file.
Examples
This example demonstrates how to setup license.
License license = new License();
license.SetLicense(@"C:\\GroupDocs.Metadata.lic");
See Also