getProductVersion

mobase.getProductVersion(executable)

Retrieve the product version of the given executable.

Parameters

executable – Absolute path to the executable.

Returns

The product version, or an empty string if the product version could not be retrieved.

Return type

str