Programatically check which versions of .NET Compact Framework are installed

戏子无情 提交于 2019-12-07 11:36:21

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/5956122/programatically-check-which-versions-of-net-compact-framework-are-installed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!