Hello,
I am wanting to get the current version of the wm 5.0 application that is on the mobile device at runtime. How can I accomplish this as the .netcf doesn't support Diagnostics.FileVersionInfo.GetVersionInfo. Thanks.
John
Hello,
I am wanting to get the current version of the wm 5.0 application that is on the mobile device at runtime. How can I accomplish this as the .netcf doesn't support Diagnostics.FileVersionInfo.GetVersionInfo. Thanks.
John
How can I get the current version of the app .netcf 2.0
zxeltor
System.Version ver = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
You may also load another assemby with Assembly.Load/LoadFrom and extract the version in the same manner.
You may use the OpenNETCF implementation of the FileVersionInfo class in the OpenNETCF.Diagnostics namespace, also.