License
Contents
[
Hide
]
License class
Provides methods for applying license to the GroupDocs.Markdown library.
public sealed class License
Constructors
Name | Description |
---|---|
License() | Initializes a new instance of the License class. |
Methods
Name | Description |
---|---|
SetLicense(Stream) | Sets the license from a stream. |
SetLicense(string) | Sets the license from a file path. |
static Set(Stream) | Sets the license from a stream. |
static Set(string) | Sets the license from a file path. |
Examples
The following example demonstrates how to set license from a file:
// Set license from file
License.SetLicense("C:\\GroupDocs.Markdown.lic");
The following example demonstrates how to set license from a stream:
using (FileStream stream = new FileStream("C:\\GroupDocs.Markdown.lic", FileMode.Open))
{
License.SetLicense(stream);
}
See Also
- namespace GroupDocs.Markdown
- assembly GroupDocs.Markdown