// For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
using (FileStream fileStream = new FileStream(licensePath, FileMode.Open, FileAccess.Read))
{
License lic = new License();
lic.SetLicense(fileStream);
}