Determines if a license can be granted for the instance of the specified type.
public static License Validate(Type type, object instance) { License lic; if (!ValidateInternal(type, instance, true, out lic)) { throw new LicenseException(type, instance); } return lic; }