public static string FindLicenseKey()
{
string licenseKeyFile = "..\\Common\\SyncfusionLicense.txt";
for (int n = 0; n < 20; n++)
{
if (!System.IO.File.Exists(licenseKeyFile))
{
licenseKeyFile = @"..\" + licenseKeyFile;
continue;
}
return System.IO.File.ReadAllText(licenseKeyFile);
}
return string.Empty;
}
}