Set

Set(string)

Sets the license from a file path.

public static void Set(string filePath)
Parameter Type Description
filePath String The path to the license file.

Examples

///

// initialize License class
// set path to .lic file
License.Set(@"C:\\GroupDocs.Markdown.lic");    

See Also


Set(Stream)

Sets the license from a stream.

public static void Set(Stream stream)
Parameter Type Description
stream Stream The stream that contains the license.

Examples

using (FileStream stream = new FileStream("C:\\GroupDocs.Markdown.lic", FileMode.Open))
{
    License.Set(stream);
}

See Also