SolutionCottage.com
Posted  08 Apr 2009 - 15:32:20

Category: ASP.net


How to get the version number of your app using code

Issue:
You want to get the current publish version of your application in the code. This is the version you can see under the publish preferences under Project / <name> Properties.

Solution:
Use:

Application.ProductVersion








0 comments:








© SolutionCottage 2008-2011 9/26/2017 9:59:19 AM