Click here to Skip to main content
15,845,829 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need way how can I detect if Mobile SDK 5, 6 is installed on the Computer or not.
Most probably I need to find a key in the registry;
Sandeep Mewara 28-Sep-10 15:17pm    

1 solution

What are you trying to achieve? If you are running a .NET applicaton then you need not check, the classes that you have referenced will be sufficient in the assembly. If you are targetting for SDK6 specifically; then you can us a try {} catch {} on the calls that you are making on assemblies that are only in SDK6. Other way is to use Reflection and find out the GAC that you are looking for on the machine.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900