Determines whether the key that the LicFileLicenseProvider.GetLicense(LicenseContext, Type, object, bool) method retrieves is valid for the specified type.
- key
- The License.LicenseKey to check.
- type
- A Type that represents the component requesting the System.ComponentModel.License.
true if the key is a valid License.LicenseKey for the specified type; otherwise, false.
This method checks the key against the phrase: " myClassName is a licensed component. ", where myClassName is the Type.FullName of the component you want to create.