getProductVersion

mobase.getProductVersion(executable)

Retrieve the product version of the given executable.

Return type:

str

Parameters:

executable – Absolute path to the executable.

Returns:

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