public static RegisterLicenseFromFileIfExists ( string filePath ) : void | ||
filePath | string | |
return | void |
public static void RegisterLicenseFromFileIfExists(string filePath)
{
if (!filePath.FileExists())
return;
var licenseKeyText = filePath.ReadAllText();
LicenseUtils.RegisterLicense(licenseKeyText);
}
}