Iwan,
See System.Diagnostics.FileVersionInfo
if (openFileDialog1.ShowDialog(this) == DialogResult.OK)
{
System.Diagnostics.FileVersionInfo fvi =
System.Diagnostics.FileVersionInfo.GetVersionInfo( openFileDialog1.FileName);
MessageBox.Show(this, fvi.FileVersion);
}
Dave
"Iwan Petrow" <xx****@abv.bg> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
Hi,
I have a win form application and the deployment (setup files) is in a
shared directory in a LAN. I want every time the app starts to check
if the version of the app is the same as the version of the deployment.
I can take the version of the current app but how to take the version
from the deployment?
Or any others ideas?
Thanks.