Set
Leave feedback
On this page
Sets the license from a file path.
public static void Set(string licensePath)
| Parameter | Type | Description |
|---|---|---|
| licensePath | String | The path to the license file. |
///
// initialize License class
// set path to .lic file
License.Set(@"C:\\GroupDocs.Markdown.lic");
- class License
- namespace GroupDocs.Markdown
- assembly GroupDocs.Markdown
Sets the license from a stream.
public static void Set(Stream licenseStream)
| Parameter | Type | Description |
|---|---|---|
| licenseStream | Stream | The stream that contains the license. |
using (FileStream stream = new FileStream("C:\\GroupDocs.Markdown.lic", FileMode.Open))
{
License.Set(stream);
}
- class License
- namespace GroupDocs.Markdown
- assembly GroupDocs.Markdown
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.