I am working on desktop application. I have create a setup.
Ex. My Application. Version is 1.0.0.
I want to get the current version
System.Reflection.Assembly executingAssembly = System.Reflection.Assembly.GetExecutingAssembly(); var fieVersionInfo = FileVersionInfo.GetVersionInfo(executingAssembly .Location); var version = fieVersionInfo.FileVersion;