Re: File Version
- From: "Dennis C. Drumm" <dcdrumm_@xxxxxxxxxxxxxxxx>
- Date: Sun, 22 May 2005 08:47:38 -0400
Steve:
Thanks, but I knew that! What I had asked is how to retrieve the file
version of an exe from my server (the bundled install program) or how to
read some text from a page on my web site that contains version information
for the latest build.
Of course, I suppose I could embed the file version in a simple ascii text
file on my server and read that, but then that is one more thing that must
be remembered every time an upload is done.
Thanks,
Dennis
"Steve Goodyear" <SteveGoodyear@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:02D2A5AC-F745-408C-A910-2EDA79585549@xxxxxxxxxxxxxxxx
> Hi Dennis,
> You can retrieve the Version object which contains the Major, Minor,
> Build,
> and Revision properties of the assembly version.
>
> Cheers,
> Steve Goodyear
>
> System.Version version =
> System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
> MessageBox.Show(version.ToString());
.
- Follow-Ups:
- Re: File Version
- From: Steven Cheng[MSFT]
- Re: File Version
- References:
- File Version
- From: Dennis C. Drumm
- RE: File Version
- From: Steve Goodyear
- File Version
- Prev by Date: XML and XSD
- Next by Date: Re: Admin Prevlidges
- Previous by thread: RE: File Version
- Next by thread: Re: File Version
- Index(es):
Relevant Pages
|