Registry.checkFeatureVersion

bool checkFeatureVersion(string featureName, uint minMajor, uint minMinor, uint minMicro)

Checks whether a plugin feature by the given name exists in registry and whether its version is at least the version required.

Parameters

featureNamethe name of the feature (e.g. "oggdemux")
minMajorthe minimum major version number
minMinorthe minimum minor version number
minMicrothe minimum micro version number

Returns

true if the feature could be found and the version is

the same as the required version or newer, and false otherwise.