Include the System.Reflection namespace into your file and then call
Assembly.GetCallingAssembly().GetName().Version.ToString(); from
your code. Note that the version class also provides properties to get
Minor, Major, Build and Revision seperatly if you need to.
Hope this helps,
//Andreas Håkansson
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.