Extract NetCF and OpenNetCF version

G

Guest

Hi, I would like to add on my application an "About..." dialog box. On this
dialog I would like to display the NETCF and OpenNETCF version currently used
by the software.

With version I mean the number that appears when I click, for example, on
cgautil file in Windows folder.

Is it possible to do that ?

Thank you in advance.

Keven Corazza
SierraSoft
 
S

Sergey Bogdanov [MVP]

The OpenNETCF SDF version can be retrieved in this way:

Assembly a = Assembly.Load("OpenNETCF");
string version = a.GetName().Version.ToString();

The .NET CF version:

string version = Environment.Version.ToString()
 
G

Guest

Wonderful! Thank you a lot.

Keven

Sergey Bogdanov said:
The OpenNETCF SDF version can be retrieved in this way:

Assembly a = Assembly.Load("OpenNETCF");
string version = a.GetName().Version.ToString();

The .NET CF version:

string version = Environment.Version.ToString()

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


Keven said:
Hi, I would like to add on my application an "About..." dialog box. On this
dialog I would like to display the NETCF and OpenNETCF version currently used
by the software.

With version I mean the number that appears when I click, for example, on
cgautil file in Windows folder.

Is it possible to do that ?

Thank you in advance.

Keven Corazza
SierraSoft
 

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