Clickonce: show publish version

S

Steven Spits

Hi,

Is it possible to show the publish version in a app that is deployed using
ClickOnce?

Assembly.GetExecutingAssembly().GetName().Version shows the assembly
version...

Steven

- - -
 
A

Andrej Tozon

Hello Steven,
look into System.Deployment.Application namespace:

ApplicationDeployment.CurrentDeployment.CurrentVersion;

Andrej
 
S

Steven Spits

Andrej Tozon said:
look into System.Deployment.Application namespace:
ApplicationDeployment.CurrentDeployment.CurrentVersion;

Perfect! Thank you very much!

Steven

- - -
 

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.

Ask a Question

Top