Don't only detect a few enum values, instead try to parse the version number (at least, as must as we care about).
The enums are not flexible enough and require code changes to support a new version.
Don't only detect a few enum values, instead try to parse the version number (at least, as must as we care about).
The enums are not flexible enough and require code changes to support a new version.