Programatically check which versions of .NET Compact Framework are installed
I have a Windows Mobile appli开发者_开发技巧cation that is built for .NET CF 1.0. It is written in C#. How can this program check what versions of the .NET Compact Framework are installed on the device it is running on?
It really depends on what you mean by "installed". If they were installed via CAB file (the most common), there will be entries in the registry under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETCompactFramework
that you could programmatically check.
精彩评论