public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void LoadSoftwareList() { listBox1.Items.Clear(); ManagementObjectCollection moReturn; ManagementObjectSearcher moSearch; moSearch = new ManagementObjectSearcher("Select * from Win32_Product"); moReturn = moSearch.Get(); foreach(ManagementObject mo in moReturn) { listBox1.Items.Add(mo["Name"].ToString()); } } private void Form1_Load(object sender, EventArgs e) { LoadSoftwareList(); }