Hi mister,
I need use WMI for get list of applications installed.
This is my code:
ManagementObjectSearcher query = null;
ManagementObjectCollection queryAPPSCollection = null;
//ManagementScope msc = new ManagementScope("\\" + computer_name
+ @"\root\cimv2");
ManagementScope msc = new ManagementScope("root\\CIMV2");
string query_command = "SELECT * FROM Win32_Product";
SelectQuery select_query = new SelectQuery(query_command);
query = new ManagementObjectSearcher(msc, select_query);
queryAPPSCollection = query.Get();
foreach (ManagementObject mo in queryAPPSCollection)
{
when it executes foreach the application not responds !!!
Any solution about it ?? please...regards...
--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.com/churrosoft
http://www.setbb.com/putainformatica...opic.php?p=843
www.trabajobasura.com/solusoft