Current version number

Hi,

Where does the current version number live?

automaticUpdater1.Version

is not showing me anything.

You have to embed it in your app and read it from there. The AutomaticUpdater only shows new versions.

I'm sorry, how might I do that?

Like this:

FileVersionInfo.GetVersionInfo(SelfLocation).FileVersion

I suspect that 'SelfLocation" is where the 'client.wyc' lives. So I do this:label1.Text += System.Diagnostics.FileVersionInfo.GetVersionInfo(Application.StartupPath + "\\client.wyc").FileVersion;However, that does not show anything.

No, selflocation is where the exe is.

FileVersionInfo.GetVersionInfo("C:\\Full\\Path\\To\\Your.exe").FileVersion

That shows '1.0.0.0'. I'm looking for the 1.5 that the client.wyc file shows.

I apologize, I must be confusing it.

You have 2 options: either parse the client.wyc file (open the wyUpdate source code to see how to do it) or embed your app's version in your app. If you're making C# app then edit the Assembly.cs file. If it's a VB.nET app then there's some dialog somewhere in the project properties (I can't remember where -- Google will tell you).