SetLicense
Contents
[
Hide
]
SetLicense(string)
Licenses the component.
public void SetLicense(string licensePath)
Parameter | Type | Description |
---|---|---|
licensePath | String | The license path. |
Examples
The following example demonstrates how to set a license passing a path to the license file.
string licensePath = "GroupDocs.Signature.lic";
GroupDocs.Signature.License lic = new GroupDocs.Signature.License();
lic.SetLicense(licensePath);
See Also
- class License
- namespace GroupDocs.Signature
- assembly GroupDocs.Signature
SetLicense(Stream)
Licenses the component.
public void SetLicense(Stream licenseStream)
Parameter | Type | Description |
---|---|---|
licenseStream | Stream | The license stream. |
Examples
The following example demonstrates how to set a license passing Stream of the license file.
using (FileStream licenseStream = new FileStream("GroupDocs.Signature.lic", FileMode.Open))
{
GroupDocs.Signature.License lic = new GroupDocs.Signature.License();
lic.SetLicense(licenseStream);
}
See Also
- class License
- namespace GroupDocs.Signature
- assembly GroupDocs.Signature