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