public static void Run()
{
// ExStart:ApplyLicenseByPath
// Set path of the license file, i.e. c:\temp\
string dataDir = @"c:\temp\";
License license = new License();
license.SetLicense(dataDir + "Aspose.Diagram.lic");
// ExEnd:ApplyLicenseByPath
}
}