Hi Joel,
You can build a java action for this. Use "Core.getModelVersion()".
I think you can get this from the client api. I looked into this today:
https://apidocs.mendix.com/7/client/mx.html
You could build a simple widget.
On the server side it looks like there is a class called Runtime Version, which might have an action.
If you want to know the runtime version deployed on a server externally using the deploy API. I don't think it is currently possible to know the runtime from the deploy API at the moment.
Regards
Simon
Try to use the API for Retrieve Environment Package given the instance.
You can probably ensure automatic update of the version to some NPE or even persistent entity if need.
The automatic version update can be triggered when the application starts using ASU (After Start Up)