I need to determine which compact framework installed in the device during deployment of my application. Based on the result I need to deploy Compact Framework 2.0.
Can someone give/pont me code sample in Visual C++
If possible give me code sample in C# also for future use.
What is the key value for CF2.0 SP1
Is there any device being manufactured with CF2.0 in ROM yet
Thanks,
Vijay

Detecting which Compact Framework installed in the device
Secrets
The following resources should help:
http://msdn.microsoft.com/mobility/understanding/articles/default.aspx pull=/library/en-us/dnnetcomp/html/netcfdepl.asp
http://wiki.opennetcf.org/ow.asp CompactFrameworkFAQ%2FDetectVersionFromInstaller
I'm not aware of of any Windows Mobile devices that do ship with .NET CF 2.0 in ROM.
Michael