Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how I can check particular application is installed or not in Server Machine using C# or Vb.net Please help me .
Posted

1 solution

You can use WMI and the classes in the System.Management namespace to get this. The name of the WMI class is Win32_Product. The WQL query would be something like "SELECT * FROM Win32_Product". Warning! It can take quite a while to run that query.

Google for "C# WMI query" for more information on how to execute a WMI query.


Also, you need Admin priviledges on the server to get its list of installed software.
 
Share this answer
 
v2
Comments
Richard C Bishop 11-Feb-14 14:13pm    
+5

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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