Take the 2-minute tour ×

I have a Windows Mobile application 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?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
What other ways can the Compact Framework can be installed? –  INTPnerd May 10 '11 at 21:21
It can be added as part of the OS, which I think might add the same registry entry (I've never checked) and the CF files can actually be deployed individually with the app, where no registry entries would exist. –  ctacke May 10 '11 at 21:48
add comment

Your Answer


