Here is an answer with some code that will do what you want it to do: Is there a way for a plug-in to get it’s own version number?
Here is an answer with some code that will do what you want it to do: Is there a way for a plug-in to get it’s own version number?